Skip to content

Commit

Permalink
skip test_groupby_literal_in_agg if polars>=1.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-b-miller committed Sep 16, 2024
1 parent 6d2e455 commit 1b5cb1a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion python/cudf_polars/tests/test_groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import itertools

import pytest
from packaging import version

import polars as pl

Expand Down Expand Up @@ -168,7 +169,13 @@ def test_groupby_nan_minmax_raises(op):
"expr",
[
pl.lit(1).alias("value"),
pl.lit([[4, 5, 6]]).alias("value"),
pytest.param(
pl.lit([[4, 5, 6]]).alias("value"),
marks=pytest.mark.xfail(
condition=version.parse(pl.__version__) >= version.parse("1.7.1"),
reason="Broken in polars 1.7.1",
),
),
pl.col("float") * (1 - pl.col("int")),
[pl.lit(2).alias("value"), pl.col("float") * 2],
],
Expand Down

0 comments on commit 1b5cb1a

Please sign in to comment.