File tree Expand file tree Collapse file tree 2 files changed +2
-22
lines changed
Expand file tree Collapse file tree 2 files changed +2
-22
lines changed Original file line number Diff line number Diff line change 11import gc
2+ from typing import Optional , Type
23
34import numpy as np
45import pytest
3031class Base :
3132 """ base class for index sub-class tests """
3233
33- _holder = None
34+ _holder = None # type: Optional[Type[Index]]
3435 _compat_props = ["shape" , "ndim" , "size" , "nbytes" ]
3536
3637 def test_pickle_compat_construction (self ):
Original file line number Diff line number Diff line change @@ -148,33 +148,12 @@ ignore_errors=True
148148[mypy-pandas.tests.extension.json.test_json]
149149ignore_errors =True
150150
151- [mypy-pandas.tests.indexes.datetimes.test_datetimelike]
152- ignore_errors =True
153-
154- [mypy-pandas.tests.indexes.interval.test_base]
155- ignore_errors =True
156-
157151[mypy-pandas.tests.indexes.interval.test_interval_tree]
158152ignore_errors =True
159153
160- [mypy-pandas.tests.indexes.period.test_period]
161- ignore_errors =True
162-
163154[mypy-pandas.tests.indexes.test_base]
164155ignore_errors =True
165156
166- [mypy-pandas.tests.indexes.test_category]
167- ignore_errors =True
168-
169- [mypy-pandas.tests.indexes.test_numeric]
170- ignore_errors =True
171-
172- [mypy-pandas.tests.indexes.test_range]
173- ignore_errors =True
174-
175- [mypy-pandas.tests.indexes.timedeltas.test_timedelta]
176- ignore_errors =True
177-
178157[mypy-pandas.tests.indexing.test_loc]
179158ignore_errors =True
180159
You can’t perform that action at this time.
0 commit comments