From 421d58b7b0f3a3762c13b8235b6d90810822da6d Mon Sep 17 00:00:00 2001 From: Liam Connors Date: Thu, 12 Sep 2024 05:13:36 -0400 Subject: [PATCH] xfail cuDF tests using total_seconds (#951) --- tests/expr_and_series/dt/datetime_duration_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/expr_and_series/dt/datetime_duration_test.py b/tests/expr_and_series/dt/datetime_duration_test.py index 50d254ba3..0c72aa858 100644 --- a/tests/expr_and_series/dt/datetime_duration_test.py +++ b/tests/expr_and_series/dt/datetime_duration_test.py @@ -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)) @@ -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)