Skip to content

Commit 7a072ac

Browse files
committed
Removed unnecessary filled_val param
1 parent 87dd4eb commit 7a072ac

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pandas/tests/indexing/test_coercion.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -679,16 +679,16 @@ def test_fillna_object(self, klass, fill_val, fill_dtype):
679679

680680
@pytest.mark.parametrize("klass", [pd.Series, pd.Index],
681681
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):
688688
obj = klass([1.1, np.nan, 3.3, 4.4])
689689
assert obj.dtype == np.float64
690690

691-
exp = klass([1.1, filled_val, 3.3, 4.4])
691+
exp = klass([1.1, fill_val, 3.3, 4.4])
692692
# float + complex -> we don't support a complex Index
693693
# complex for Series,
694694
# object for Index

0 commit comments

Comments
 (0)