Skip to content

Commit

Permalink
xfail cuDF tests using total_seconds (#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamConnors authored Sep 12, 2024
1 parent 03d2704 commit 421d58b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/expr_and_series/dt/datetime_duration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ def test_duration_attributes(
) -> None:
if parse_version(pd.__version__) < (2, 2) and "pandas_pyarrow" in str(constructor):
request.applymarker(pytest.mark.xfail)
if "cudf" in str(constructor):
request.applymarker(pytest.mark.xfail)

df = nw.from_native(constructor(data))

Expand Down Expand Up @@ -81,6 +83,8 @@ def test_duration_attributes_series(
constructor_eager
):
request.applymarker(pytest.mark.xfail)
if "cudf" in str(constructor_eager):
request.applymarker(pytest.mark.xfail)

df = nw.from_native(constructor_eager(data), eager_only=True)

Expand Down

0 comments on commit 421d58b

Please sign in to comment.