File tree 2 files changed +5
-10
lines changed
pandas/tests/extension/base
2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 1
1
import operator
2
+ from typing import Optional , Type
2
3
3
4
import pytest
4
5
@@ -61,10 +62,10 @@ class BaseArithmeticOpsTests(BaseOpsUtil):
61
62
* divmod_exc = TypeError
62
63
"""
63
64
64
- series_scalar_exc = TypeError
65
- frame_scalar_exc = TypeError
66
- series_array_exc = TypeError
67
- divmod_exc = TypeError
65
+ series_scalar_exc = TypeError # type: Optional[Type[TypeError]]
66
+ frame_scalar_exc = TypeError # type: Optional[Type[TypeError]]
67
+ series_array_exc = TypeError # type: Optional[Type[TypeError]]
68
+ divmod_exc = TypeError # type: Optional[Type[TypeError]]
68
69
69
70
def test_arith_series_with_scalar (self , data , all_arithmetic_operators ):
70
71
# series & scalar
Original file line number Diff line number Diff line change @@ -166,12 +166,6 @@ ignore_errors=True
166
166
[mypy-pandas.tests.extension.json.test_json]
167
167
ignore_errors =True
168
168
169
- [mypy-pandas.tests.extension.test_numpy]
170
- ignore_errors =True
171
-
172
- [mypy-pandas.tests.extension.test_sparse]
173
- ignore_errors =True
174
-
175
169
[mypy-pandas.tests.frame.test_constructors]
176
170
ignore_errors =True
177
171
You can’t perform that action at this time.
0 commit comments