From 9f7f515c7fe3345390ab79c2cb656e87ab199d27 Mon Sep 17 00:00:00 2001 From: Simon Lin Date: Fri, 31 Jan 2025 22:21:32 +1100 Subject: [PATCH] c --- py-polars/tests/unit/operations/test_cast.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py-polars/tests/unit/operations/test_cast.py b/py-polars/tests/unit/operations/test_cast.py index b6b73b3e213b..5efea46dc321 100644 --- a/py-polars/tests/unit/operations/test_cast.py +++ b/py-polars/tests/unit/operations/test_cast.py @@ -701,7 +701,7 @@ def test_cast_python_dtypes() -> None: def test_overflowing_cast_literals_21023() -> None: - for optimized in [True, False]: + for no_optimization in [True, False]: assert_frame_equal( ( pl.LazyFrame() @@ -710,7 +710,7 @@ def test_overflowing_cast_literals_21023() -> None: pl.Int8, wrap_numerical=True ) ) - .collect(optimized=optimized) + .collect(no_optimization=no_optimization) ), pl.Series([-128], dtype=pl.Int8).to_frame(), )