Skip to content

Commit

Permalink
Fix mypy errors (pandas-dev#29108)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhijeetKrishnan authored and proost committed Dec 19, 2019
1 parent 93edcb6 commit 53fb8b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pandas/tests/series/test_constructors.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ class TestSeriesConstructors:
(lambda: Series({}), True),
(lambda: Series(()), False), # creates a RangeIndex
(lambda: Series([]), False), # creates a RangeIndex
(lambda: Series((x for x in [])), False), # creates a RangeIndex
(lambda: Series((_ for _ in [])), False), # creates a RangeIndex
(lambda: Series(data=None), True),
(lambda: Series(data={}), True),
(lambda: Series(data=()), False), # creates a RangeIndex
(lambda: Series(data=[]), False), # creates a RangeIndex
(lambda: Series(data=(x for x in [])), False), # creates a RangeIndex
(lambda: Series(data=(_ for _ in [])), False), # creates a RangeIndex
],
)
def test_empty_constructor(self, constructor, check_index_type):
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,6 @@ ignore_errors=True
[mypy-pandas.tests.indexing.test_loc]
ignore_errors=True

[mypy-pandas.tests.series.test_constructors]
ignore_errors=True

[mypy-pandas.tests.series.test_operators]
ignore_errors=True

Expand Down

0 comments on commit 53fb8b2

Please sign in to comment.