@@ -679,16 +679,16 @@ def test_fillna_object(self, klass, fill_val, fill_dtype):
679
679
680
680
@pytest .mark .parametrize ("klass" , [pd .Series , pd .Index ],
681
681
ids = ['series' , 'index' ])
682
- @pytest .mark .parametrize ("fill_val,filled_val, fill_dtype" , [
683
- (1 , 1.0 , np .float64 ),
684
- (1.1 , 1.1 , np .float64 ),
685
- (1 + 1j , 1 + 1j , np .complex128 ),
686
- (True , True , np .object )])
687
- def test_fillna_float64 (self , klass , fill_val , filled_val , fill_dtype ):
682
+ @pytest .mark .parametrize ("fill_val,fill_dtype" , [
683
+ (1 , np .float64 ),
684
+ (1.1 , np .float64 ),
685
+ (1 + 1j , np .complex128 ),
686
+ (True , np .object )])
687
+ def test_fillna_float64 (self , klass , fill_val , fill_dtype ):
688
688
obj = klass ([1.1 , np .nan , 3.3 , 4.4 ])
689
689
assert obj .dtype == np .float64
690
690
691
- exp = klass ([1.1 , filled_val , 3.3 , 4.4 ])
691
+ exp = klass ([1.1 , fill_val , 3.3 , 4.4 ])
692
692
# float + complex -> we don't support a complex Index
693
693
# complex for Series,
694
694
# object for Index
0 commit comments