Skip to content

CLN: fix mypy errors in pandas\tests\indexes\interval\test_base.py #28926 #28961

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Oct 28, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pandas/tests/indexes/interval/test_base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import numpy as np
import pytest
from typing import Optional, Type

from pandas import IntervalIndex, Series, date_range
from pandas.tests.indexes.common import Base
Expand All @@ -12,7 +13,7 @@ class TestBase(Base):
in test_interval.py or the specific test file (e.g. test_astype.py)
"""

_holder = IntervalIndex
_holder = IntervalIndex # type: Optional[Type[IntervalIndex]]

@pytest.fixture
def indices(self):
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,6 @@ ignore_errors=True
[mypy-pandas.tests.indexes.datetimes.test_datetimelike]
ignore_errors=True

[mypy-pandas.tests.indexes.interval.test_base]
ignore_errors=True

[mypy-pandas.tests.indexes.interval.test_interval_tree]
ignore_errors=True

Expand Down