Skip to content

Commit

Permalink
test: xfail cudf failures (#1259)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli authored Oct 27, 2024
1 parent e6abf27 commit ca11fa3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/frame/unpivot_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ def test_unpivot_mixed_types(
data: dict[str, Any],
expected_dtypes: list[DType],
) -> None:
if "pyarrow_table" in str(constructor) and PYARROW_VERSION < (14, 0, 0):
if "cudf" in str(constructor) or (
"pyarrow_table" in str(constructor) and PYARROW_VERSION < (14, 0, 0)
):
request.applymarker(pytest.mark.xfail)
df = nw.from_native(constructor(data))
result = df.unpivot(on=["a", "b"], index="idx")
Expand Down
7 changes: 6 additions & 1 deletion tests/group_by_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,12 @@ def test_invalid_group_by() -> None:
)


def test_group_by_iter(constructor_eager: ConstructorEager) -> None:
def test_group_by_iter(
constructor_eager: ConstructorEager, request: pytest.FixtureRequest
) -> None:
if "cudf" in str(constructor_eager):
# https://github.com/rapidsai/cudf/issues/17187
request.applymarker(pytest.mark.xfail)
df = nw.from_native(constructor_eager(data), eager_only=True)
expected_keys = [(1,), (3,)]
keys = []
Expand Down

0 comments on commit ca11fa3

Please sign in to comment.