Skip to content

Commit 10be506

Browse files
committed
update exception message
1 parent 72c59cf commit 10be506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/groupby/test_raises.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def test_groupby_raises_string(
166166
TypeError,
167167
re.escape("agg function failed [how->prod,dtype->object]"),
168168
),
169-
"quantile": (TypeError, "cannot be performed against 'object' dtypes!"),
169+
"quantile": (TypeError, "dtype 'object' does not support operation 'quantile'"),
170170
"rank": (None, ""),
171171
"sem": (ValueError, "could not convert string to float"),
172172
"shift": (None, ""),

0 commit comments

Comments
 (0)