From 9d78309ab3cbee0738581cfd18dc3959ada7bda7 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Fri, 16 Feb 2024 14:47:49 -0800 Subject: [PATCH] xfail test_join_ordering_pandas_compat for pandas 2.2 --- python/cudf/cudf/tests/test_join_order.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/python/cudf/cudf/tests/test_join_order.py b/python/cudf/cudf/tests/test_join_order.py index 61a2ed239cb..58263faa7bf 100644 --- a/python/cudf/cudf/tests/test_join_order.py +++ b/python/cudf/cudf/tests/test_join_order.py @@ -1,4 +1,4 @@ -# Copyright (c) 2023, NVIDIA CORPORATION. +# Copyright (c) 2023-2024, NVIDIA CORPORATION. import itertools import operator @@ -155,7 +155,13 @@ def expected(left, right, sort, *, how): @pytest.mark.parametrize("how", ["inner", "left", "right", "outer"]) -def test_join_ordering_pandas_compat(left, right, sort, how): +def test_join_ordering_pandas_compat(request, left, right, sort, how): + request.applymarker( + pytest.mark.xfail( + PANDAS_GE_220 and how == "right", + reason="TODO: Result ording of suffix'ed columns is incorrect", + ) + ) with cudf.option_context("mode.pandas_compatible", True): actual = left.merge(right, on="key", how=how, sort=sort) expect = expected(left, right, sort, how=how)