We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87dd4eb commit 7a072acCopy full SHA for 7a072ac
pandas/tests/indexing/test_coercion.py
@@ -679,16 +679,16 @@ def test_fillna_object(self, klass, fill_val, fill_dtype):
679
680
@pytest.mark.parametrize("klass", [pd.Series, pd.Index],
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):
+ @pytest.mark.parametrize("fill_val,fill_dtype", [
+ (1, np.float64),
+ (1.1, np.float64),
+ (1 + 1j, np.complex128),
+ (True, np.object)])
+ def test_fillna_float64(self, klass, fill_val, fill_dtype):
688
obj = klass([1.1, np.nan, 3.3, 4.4])
689
assert obj.dtype == np.float64
690
691
- exp = klass([1.1, filled_val, 3.3, 4.4])
+ exp = klass([1.1, fill_val, 3.3, 4.4])
692
# float + complex -> we don't support a complex Index
693
# complex for Series,
694
# object for Index
0 commit comments