Skip to content

Commit a0cd5e7

Browse files
committed
TypeError for Series
1 parent 2247461 commit a0cd5e7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: pandas/tests/extension/test_categorical.py

+5
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,11 @@ def test_add_series_with_extension_array(self, data):
208208
with tm.assert_raises_regex(TypeError, "cannot perform"):
209209
ser + data
210210

211+
def _check_divmod_op(self, s, op, other, exc=NotImplementedError):
212+
return super(TestArithmeticOps, self)._check_divmod_op(
213+
s, op, other, exc=TypeError
214+
)
215+
211216

212217
class TestComparisonOps(base.BaseComparisonOpsTests):
213218

0 commit comments

Comments
 (0)