From 57325f291811553789e082e39924578cfecc0d14 Mon Sep 17 00:00:00 2001 From: alexander-beedie Date: Sat, 25 May 2024 12:33:51 +0400 Subject: [PATCH] improve test param name --- py-polars/tests/unit/operations/namespaces/test_meta.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/py-polars/tests/unit/operations/namespaces/test_meta.py b/py-polars/tests/unit/operations/namespaces/test_meta.py index 6a5f8a4c0951..386c34ac03a9 100644 --- a/py-polars/tests/unit/operations/namespaces/test_meta.py +++ b/py-polars/tests/unit/operations/namespaces/test_meta.py @@ -82,7 +82,7 @@ def test_is_column() -> None: @pytest.mark.parametrize( - ("expr", "expected"), + ("expr", "is_column_selection"), [ # columns (pl.col("foo"), True), @@ -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()