Skip to content

Commit 3d3953d

Browse files
TST: Changed broken test to xfail pandas-dev#25581
1 parent 0e208c8 commit 3d3953d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pandas/tests/groupby/aggregate/test_aggregate.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -1420,9 +1420,12 @@ def test_multi_axis_1_raises(func):
14201420
[
14211421
([[20, "A"], [20, "B"], [10, "C"]], {0: [10, 20], 1: ["C", ["A", "B"]]}),
14221422
([[20, "A"], [20, "B"], [30, "C"]], {0: [20, 30], 1: [["A", "B"], "C"]}),
1423-
([["a", 1], ["a", 1], ["b", 2], ["b", 3]], {0: ["a", "b"], 1: [1, [2, 3]]})
1424-
# This test case still fails
1425-
# ([["a", 1], ["a", 2], ["b", 3], ["b", 3]], {0: ["a", "b"], 1: [[1, 2], 3]})
1423+
([["a", 1], ["a", 1], ["b", 2], ["b", 3]], {0: ["a", "b"], 1: [1, [2, 3]]}),
1424+
pytest.param(
1425+
[["a", 1], ["a", 2], ["b", 3], ["b", 3]],
1426+
{0: ["a", "b"], 1: [[1, 2], 3]},
1427+
marks=pytest.mark.xfail,
1428+
),
14261429
],
14271430
)
14281431
def test_agg_of_mode_list(test, constant):

0 commit comments

Comments
 (0)