Skip to content

Commit 9f7c040

Browse files
authored
test: xfail cudf where necessary (#2386)
xfail cudf
1 parent 1642744 commit 9f7c040

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

tests/expr_and_series/over_test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -435,8 +435,9 @@ def test_len_over_2369(constructor: Constructor, request: pytest.FixtureRequest)
435435
pytest.skip()
436436
if "pandas" in str(constructor) and PANDAS_VERSION < (1, 5):
437437
pytest.skip()
438-
if any(x in str(constructor) for x in ("modin",)):
438+
if any(x in str(constructor) for x in ("modin", "cudf")):
439439
# https://github.com/modin-project/modin/issues/7508
440+
# https://github.com/rapidsai/cudf/issues/18491
440441
request.applymarker(pytest.mark.xfail)
441442
df = nw.from_native(constructor({"a": [1, 2, 4], "b": ["x", "x", "y"]}))
442443
result = df.with_columns(a_len_per_group=nw.len().over("b")).sort("a")

tests/v1_test.py

+2
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ def test_to_dict(constructor_eager: ConstructorEager) -> None:
138138
def test_hist_v1(constructor_eager: ConstructorEager) -> None:
139139
if "pyarrow_table" in str(constructor_eager) and PYARROW_VERSION < (13,):
140140
pytest.skip()
141+
if "cudf" in str(constructor_eager):
142+
pytest.skip()
141143
df = nw_v1.from_native(constructor_eager({"a": [1, 1, 2]}), eager_only=True)
142144
result = df["a"].hist(bins=[-1, 1, 2])
143145
expected = {"breakpoint": [1, 2], "count": [2, 1]}

0 commit comments

Comments
 (0)