File tree 2 files changed +4
-7
lines changed
pandas/tests/extension/base
2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,10 @@ class BaseArithmeticOpsTests(BaseOpsUtil):
62
62
* divmod_exc = TypeError
63
63
"""
64
64
65
- series_scalar_exc = TypeError # type: Union [Type[Exception], None ]
66
- frame_scalar_exc = TypeError # type: Union [Type[Exception], None ]
67
- series_array_exc = TypeError # type: Union [Type[Exception], None ]
68
- divmod_exc = TypeError # type: Union [Type[Exception], None ]
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] ]
69
69
70
70
def test_arith_series_with_scalar (self , data , all_arithmetic_operators ):
71
71
# series & scalar
Original file line number Diff line number Diff line change @@ -166,9 +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_sparse]
170
- ignore_errors =True
171
-
172
169
[mypy-pandas.tests.frame.test_constructors]
173
170
ignore_errors =True
174
171
You can’t perform that action at this time.
0 commit comments