Skip to content

Commit

Permalink
CLN: added type hint for mypy to test_coercion.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasbk committed Oct 15, 2019
1 parent 008fe48 commit 217adc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pandas/tests/indexing/test_coercion.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import itertools
from typing import Any, Dict, List

import numpy as np
import pytest
Expand Down Expand Up @@ -928,7 +929,7 @@ class TestReplaceSeriesCoercion(CoercionBase):
klasses = ["series"]
method = "replace"

rep = {}
rep = {} # type: Dict[str, List[Any]]
rep["object"] = ["a", "b"]
rep["int64"] = [4, 5]
rep["float64"] = [1.1, 2.2]
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,6 @@ ignore_errors=True
[mypy-pandas.tests.indexes.timedeltas.test_timedelta]
ignore_errors=True

[mypy-pandas.tests.indexing.test_coercion]
ignore_errors=True

[mypy-pandas.tests.indexing.test_loc]
ignore_errors=True

Expand Down

0 comments on commit 217adc8

Please sign in to comment.