Skip to content

Commit d76a8fb

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/frame/methods/test_replace.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from datetime import datetime
22
from io import StringIO
33
import re
4-
from typing import Dict
4+
from typing import Dict, List, Union
55

66
import numpy as np
77
import pytest
@@ -12,7 +12,7 @@
1212

1313

1414
@pytest.fixture
15-
def mix_ab() -> Dict[str, list]:
15+
def mix_ab() -> Dict[str, List[Union[int, str]]]:
1616
return {"a": list(range(4)), "b": list("ab..")}
1717

1818

0 commit comments

Comments
 (0)