Skip to content

Commit

Permalink
fix pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
galipremsagar committed Nov 4, 2024
1 parent b7dced9 commit 789f5ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/cudf/cudf_pandas_tests/test_cudf_pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -1773,4 +1773,7 @@ def test_fallback_raises_error(monkeypatch):
],
)
def test_cudf_pandas_util_version(attrs):
assert hasattr(pd.util, attrs)
if PANDAS_GE_220 and attrs == "capitalize_first_letter":
assert not hasattr(pd.util, attrs)
else:
assert hasattr(pd.util, attrs)

0 comments on commit 789f5ed

Please sign in to comment.