Skip to content

Commit

Permalink
Fix is_string_dtype test for pandas 2.2 (#15012)
Browse files Browse the repository at this point in the history
Fixed in pandas 2.2: pandas-dev/pandas#54661

Authors:
  - Matthew Roeschke (https://github.com/mroeschke)

Approvers:
  - GALI PREM SAGAR (https://github.com/galipremsagar)

URL: #15012
  • Loading branch information
mroeschke authored Feb 9, 2024
1 parent 6638b52 commit e36718b
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit e36718b

Please sign in to comment.