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 tests for polars 1.2 #16292

Merged
merged 1 commit into from
Jul 16, 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
3 changes: 2 additions & 1 deletion python/cudf_polars/tests/test_groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
assert_gpu_result_equal,
assert_ir_translation_raises,
)
from cudf_polars.utils import versions


@pytest.fixture
Expand Down Expand Up @@ -100,7 +101,7 @@ def test_groupby_sorted_keys(df: pl.LazyFrame, keys, exprs):
with pytest.raises(AssertionError):
# https://github.com/pola-rs/polars/issues/17556
assert_gpu_result_equal(q, check_exact=False)
if schema[sort_keys[1]] == pl.Boolean():
if versions.POLARS_VERSION_LT_12 and schema[sort_keys[1]] == pl.Boolean():
# https://github.com/pola-rs/polars/issues/17557
with pytest.raises(AssertionError):
assert_gpu_result_equal(qsorted, check_exact=False)
Expand Down
Loading