Skip to content

Commit

Permalink
Add skipif for pandas<2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Oct 31, 2024
1 parent a893fef commit af4d677
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/cudf/cudf/tests/test_groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -4061,6 +4061,9 @@ def test_ndim():
assert pgb.ndim == ggb.ndim


@pytest.mark.skipif(
not PANDAS_GE_220, reason="pandas behavior applicable in >=2.2"
)
def test_get_group_list_like():
df = cudf.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})
result = df.groupby(["a"]).get_group((1,))
Expand Down

0 comments on commit af4d677

Please sign in to comment.