diff --git a/pandas/tests/indexes/common.py b/pandas/tests/indexes/common.py index b657d8d16df81..1ac6370860ba6 100644 --- a/pandas/tests/indexes/common.py +++ b/pandas/tests/indexes/common.py @@ -1,4 +1,5 @@ import gc +from typing import Optional, Type import numpy as np import pytest @@ -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): diff --git a/setup.cfg b/setup.cfg index 64494bf84363e..7fbc41f032faf 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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