From c3f6ec86db26daa6284d8b300c1322dee3062aba Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Wed, 4 Jun 2025 05:51:50 -0700 Subject: [PATCH] Backport PR #61549: TST: Add error message for test_groupby_raises_category_on_category for quantile --- pandas/tests/groupby/test_raises.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tests/groupby/test_raises.py b/pandas/tests/groupby/test_raises.py index 5457f5ba050c6..bc39f67829792 100644 --- a/pandas/tests/groupby/test_raises.py +++ b/pandas/tests/groupby/test_raises.py @@ -696,7 +696,7 @@ def test_groupby_raises_category_on_category( "nunique": (None, ""), "pct_change": (TypeError, "unsupported operand type"), "prod": (TypeError, "category type does not support prod operations"), - "quantile": (TypeError, ""), + "quantile": (TypeError, "No matching signature found"), "rank": (None, ""), "sem": ( TypeError,