Skip to content

Commit be30edc

Browse files
simonjayhawkinsTomAugspurger
authored andcommitted
pandas\tests\frame\methods\test_replace.py:20: error: Implicit generic "Any". Use "typing.List" and specify generic parameters
1 parent d76a8fb commit be30edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/frame/methods/test_replace.py

Lines changed: 1 addition & 1 deletion
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]:
20+
def mix_abc() -> Dict[str, List[Union[int, str, np.nan]]]:
2121
return {"a": list(range(4)), "b": list("ab.."), "c": ["a", "b", np.nan, "d"]}
2222

2323

0 commit comments

Comments
 (0)