TypeError for Series · Pingviinituutti/pandas@a0cd5e7 (original) (raw)
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -208,6 +208,11 @@ def test_add_series_with_extension_array(self, data): | ||
| 208 | 208 | with tm.assert_raises_regex(TypeError, "cannot perform"): |
| 209 | 209 | ser + data |
| 210 | 210 | |
| 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 | + | |
| 211 | 216 | |
| 212 | 217 | class TestComparisonOps(base.BaseComparisonOpsTests): |
| 213 | 218 |