Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add xfailures for test_applymap for pandas 2.2 #15034

Merged
merged 4 commits into from
Feb 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions python/cudf/cudf/tests/test_applymap.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pytest

from cudf import NA, DataFrame
from cudf.core._compat import PANDAS_GE_210
from cudf.core._compat import PANDAS_GE_210, PANDAS_GE_220
from cudf.testing import _utils as utils


Expand All @@ -26,7 +26,21 @@
],
)
@pytest.mark.parametrize("na_action", [None, "ignore"])
def test_applymap_dataframe(data, func, na_action):
def test_applymap_dataframe(data, func, na_action, request):
request.applymarker(
pytest.mark.xfail(
PANDAS_GE_220
and request.node.callspec.id == "None-<lambda>2-data3",
reason="https://github.com/pandas-dev/pandas/issues/57390",
)
)
request.applymarker(
pytest.mark.xfail(
PANDAS_GE_220
and request.node.callspec.id == "ignore-<lambda>3-data3",
reason="https://github.com/pandas-dev/pandas/pull/57388",
)
)
gdf = DataFrame(data)
pdf = gdf.to_pandas(nullable=True)

Expand Down
Loading