diff --git a/pandas/tests/groupby/aggregate/test_aggregate.py b/pandas/tests/groupby/aggregate/test_aggregate.py index dca0281d610ad..02a3c8e3bf2b4 100644 --- a/pandas/tests/groupby/aggregate/test_aggregate.py +++ b/pandas/tests/groupby/aggregate/test_aggregate.py @@ -1520,8 +1520,8 @@ def test_agg_of_mode_list(test, constant): tm.assert_frame_equal(result, expected) -def test__dataframe_groupy_agg_list_like_func_with_args(): - # GH 50624 +def test_dataframe_groupy_agg_list_like_func_with_args(): + # GH#50624 df = DataFrame({"x": [1, 2, 3], "y": ["a", "b", "c"]}) gb = df.groupby("y") @@ -1544,8 +1544,8 @@ def foo2(x, b=2, c=0): tm.assert_frame_equal(result, expected) -def test__series_groupy_agg_list_like_func_with_args(): - # GH 50624 +def test_series_groupy_agg_list_like_func_with_args(): + # GH#50624 s = Series([1, 2, 3]) sgb = s.groupby(s)