Skip to content

Commit 2c6e10d

Browse files
committed
update test
1 parent 7926c6c commit 2c6e10d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/tests/groupby/test_function.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ def _check(self, df, method, expected_columns, expected_columns_numeric):
250250
[
251251
"Categorical is not ordered",
252252
"function is not implemented for this dtype",
253+
f"Cannot perform {method} with non-ordered Categorical",
253254
]
254255
)
255256
with pytest.raises(exception, match=msg):
@@ -276,6 +277,7 @@ def _check(self, df, method, expected_columns, expected_columns_numeric):
276277
"category type does not support",
277278
"can't multiply sequence",
278279
"function is not implemented for this dtype",
280+
f"Cannot perform {method} with non-ordered Categorical",
279281
]
280282
)
281283
with pytest.raises(exception, match=msg):

0 commit comments

Comments
 (0)