Skip to content

Commit

Permalink
TypeError for Series
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Oct 3, 2018
1 parent 2247461 commit a0cd5e7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pandas/tests/extension/test_categorical.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,11 @@ def test_add_series_with_extension_array(self, data):
with tm.assert_raises_regex(TypeError, "cannot perform"):
ser + data

def _check_divmod_op(self, s, op, other, exc=NotImplementedError):
return super(TestArithmeticOps, self)._check_divmod_op(
s, op, other, exc=TypeError
)


class TestComparisonOps(base.BaseComparisonOpsTests):

Expand Down

0 comments on commit a0cd5e7

Please sign in to comment.