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

Fix is_string_dtype test for pandas 2.2 #15012

Merged
merged 1 commit into from
Feb 9, 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
6 changes: 3 additions & 3 deletions python/cudf/cudf/tests/test_api_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import cudf
from cudf.api import types
from cudf.core._compat import PANDAS_GE_200, PANDAS_GE_210, PANDAS_GE_214
from cudf.core._compat import PANDAS_GE_210, PANDAS_GE_214, PANDAS_GE_220
from cudf.testing._utils import expect_warning_if


Expand Down Expand Up @@ -499,8 +499,8 @@ def test_is_integer(obj, expect):
(pd.Series(dtype="int"), False),
(pd.Series(dtype="float"), False),
(pd.Series(dtype="complex"), False),
(pd.Series(dtype="str"), not PANDAS_GE_200),
(pd.Series(dtype="unicode"), not PANDAS_GE_200),
(pd.Series(dtype="str"), PANDAS_GE_220),
(pd.Series(dtype="unicode"), PANDAS_GE_220),
(pd.Series(dtype="datetime64[s]"), False),
(pd.Series(dtype="timedelta64[s]"), False),
(pd.Series(dtype="category"), False),
Expand Down
Loading