Skip to content

Commit 087e51c

Browse files
committed
added error capturing on reduce test
1 parent 37bb4c9 commit 087e51c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pandas/tests/extension/base/reduce.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ def test_reduce_series_numeric(self, data, all_numeric_reductions, skipna):
105105
msg = (
106106
"[Cc]annot perform|Categorical is not ordered for operation|"
107107
"does not support operation|"
108+
"unsupported operand type|"
109+
"NotImplemented|"
110+
"not supported between instances|"
111+
"NotImplementedType|"
112+
"iLocation based boolean"
108113
)
109114

110115
with pytest.raises(TypeError, match=msg):

0 commit comments

Comments
 (0)