Skip to content

Commit

Permalink
test: xfail test_group_by_shift_raises for cudf (#1595)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli authored Dec 15, 2024
1 parent d0225b3 commit 93e7f42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/group_by_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,10 @@ def test_group_by_shift_raises(
# Polars supports all kinds of crazy group-by aggregations, so
# we don't check that it errors here.
request.applymarker(pytest.mark.xfail)
if "cudf" in str(constructor):
# This operation fails completely in cuDF anyway, we just let raise its own
# error.
request.applymarker(pytest.mark.xfail)
df_native = {"a": [1, 2, 3], "b": [1, 1, 2]}
df = nw.from_native(constructor(df_native))
with pytest.raises(
Expand Down

0 comments on commit 93e7f42

Please sign in to comment.