From 1a9af18db2e0fbd4ca892a296f00d2121d69ecc2 Mon Sep 17 00:00:00 2001 From: Liam Connors Date: Thu, 3 Oct 2024 13:07:45 -0400 Subject: [PATCH] test: xfail tz_aware test for cuDF (#1118) * xfail tz_aware for cuDF * add GitHub issue --- tests/expr_and_series/cast_test.py | 6 ++++-- tests/frame/unpivot_test.py | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/expr_and_series/cast_test.py b/tests/expr_and_series/cast_test.py index dafe876ab..2229c8abb 100644 --- a/tests/expr_and_series/cast_test.py +++ b/tests/expr_and_series/cast_test.py @@ -193,8 +193,10 @@ class Banana: def test_cast_datetime_tz_aware( constructor: Constructor, request: pytest.FixtureRequest ) -> None: - if "dask" in str(constructor) or ( - "pyarrow_table" in str(constructor) and is_windows() + if ( + "dask" in str(constructor) + or "cudf" in str(constructor) # https://github.com/rapidsai/cudf/issues/16973 + or ("pyarrow_table" in str(constructor) and is_windows()) ): request.applymarker(pytest.mark.xfail) diff --git a/tests/frame/unpivot_test.py b/tests/frame/unpivot_test.py index 64d003bbf..2adad6465 100644 --- a/tests/frame/unpivot_test.py +++ b/tests/frame/unpivot_test.py @@ -54,6 +54,7 @@ def test_unpivot_var_value_names( request: pytest.FixtureRequest, ) -> None: if variable_name == "" and "cudf" in str(constructor): + # https://github.com/rapidsai/cudf/issues/16972 request.applymarker(pytest.mark.xfail) df = nw.from_native(constructor(data))