Skip to content

Commit ca11fa3

Browse files
authored
test: xfail cudf failures (#1259)
1 parent e6abf27 commit ca11fa3

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

tests/frame/unpivot_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ def test_unpivot_mixed_types(
9494
data: dict[str, Any],
9595
expected_dtypes: list[DType],
9696
) -> None:
97-
if "pyarrow_table" in str(constructor) and PYARROW_VERSION < (14, 0, 0):
97+
if "cudf" in str(constructor) or (
98+
"pyarrow_table" in str(constructor) and PYARROW_VERSION < (14, 0, 0)
99+
):
98100
request.applymarker(pytest.mark.xfail)
99101
df = nw.from_native(constructor(data))
100102
result = df.unpivot(on=["a", "b"], index="idx")

tests/group_by_test.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,12 @@ def test_invalid_group_by() -> None:
7474
)
7575

7676

77-
def test_group_by_iter(constructor_eager: ConstructorEager) -> None:
77+
def test_group_by_iter(
78+
constructor_eager: ConstructorEager, request: pytest.FixtureRequest
79+
) -> None:
80+
if "cudf" in str(constructor_eager):
81+
# https://github.com/rapidsai/cudf/issues/17187
82+
request.applymarker(pytest.mark.xfail)
7883
df = nw.from_native(constructor_eager(data), eager_only=True)
7984
expected_keys = [(1,), (3,)]
8085
keys = []

0 commit comments

Comments
 (0)