File tree 2 files changed +5
-7
lines changed
pandas/tests/extension/base
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
1
import operator
2
+ from typing import Type , Union
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: 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]
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,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_numpy]
170
- ignore_errors =True
171
-
172
169
[mypy-pandas.tests.extension.test_sparse]
173
170
ignore_errors =True
174
171
You can’t perform that action at this time.
0 commit comments