Skip to content

Commit 4b61db6

Browse files
simonjayhawkinsTomAugspurger
authored andcommitted
np.nan is float
1 parent fbea6a6 commit 4b61db6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/frame/methods/test_replace.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def mix_ab() -> Dict[str, List[Union[int, str]]]:
1717

1818

1919
@pytest.fixture
20-
def mix_abc() -> Dict[str, List[Union[int, str, np.nan]]]:
20+
def mix_abc() -> Dict[str, List[Union[float, str]]]:
2121
return {"a": list(range(4)), "b": list("ab.."), "c": ["a", "b", np.nan, "d"]}
2222

2323

0 commit comments

Comments
 (0)