Skip to content

Commit

Permalink
improve test param name
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-beedie committed May 25, 2024
1 parent 8027a4c commit 57325f2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions py-polars/tests/unit/operations/namespaces/test_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def test_is_column() -> None:


@pytest.mark.parametrize(
("expr", "expected"),
("expr", "is_column_selection"),
[
# columns
(pl.col("foo"), True),
Expand All @@ -105,12 +105,11 @@ def test_is_column() -> None:
)
def test_is_column_selection(
expr: pl.Expr,
expected: bool,
is_column_selection: bool,
) -> None:
if expected:
if is_column_selection:
assert expr.meta.is_column_selection()
assert expr.meta.is_column_selection(allow_aliasing=True)

expr = (
expr.name.suffix("!")
if expr.meta.has_multiple_outputs()
Expand Down

0 comments on commit 57325f2

Please sign in to comment.