Skip to content

Fix mypy error message in pandas/tests/indexes/test_numeric.py #28976

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

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
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/common.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import gc
from typing import Optional, Type

import numpy as np
import pytest
Expand Down Expand Up @@ -30,7 +31,7 @@
class Base:
""" base class for index sub-class tests """

_holder = None
_holder = None # type: Optional[Type[Index]]
_compat_props = ["shape", "ndim", "size", "nbytes"]

def test_pickle_compat_construction(self):
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.indexes.test_category]
ignore_errors=True

[mypy-pandas.tests.indexes.test_numeric]
ignore_errors=True

[mypy-pandas.tests.indexes.test_range]
ignore_errors=True

Expand Down