Skip to content

Commit 9486f04

Browse files
lukasbkWillAyd
authored andcommitted
tests/indexing/test_coercion.py typefix (pandas-dev#28990)
1 parent 143eb38 commit 9486f04

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

pandas/tests/indexing/test_coercion.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import itertools
2+
from typing import Dict, List
23

34
import numpy as np
45
import pytest
@@ -928,7 +929,7 @@ class TestReplaceSeriesCoercion(CoercionBase):
928929
klasses = ["series"]
929930
method = "replace"
930931

931-
rep = {}
932+
rep = {} # type: Dict[str, List]
932933
rep["object"] = ["a", "b"]
933934
rep["int64"] = [4, 5]
934935
rep["float64"] = [1.1, 2.2]

setup.cfg

-3
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,6 @@ ignore_errors=True
193193
[mypy-pandas.tests.indexes.timedeltas.test_timedelta]
194194
ignore_errors=True
195195

196-
[mypy-pandas.tests.indexing.test_coercion]
197-
ignore_errors=True
198-
199196
[mypy-pandas.tests.indexing.test_loc]
200197
ignore_errors=True
201198

0 commit comments

Comments
 (0)