From 64982d7b1c56b9f22b6556edb0939a8f8e44f081 Mon Sep 17 00:00:00 2001 From: alexander-beedie Date: Mon, 24 Jun 2024 00:37:02 +0400 Subject: [PATCH] fix test --- py-polars/tests/unit/test_errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-polars/tests/unit/test_errors.py b/py-polars/tests/unit/test_errors.py index ebd3ec4e73ff..dc89f0e43f2e 100644 --- a/py-polars/tests/unit/test_errors.py +++ b/py-polars/tests/unit/test_errors.py @@ -474,7 +474,7 @@ def test_with_column_duplicates() -> None: df = pl.DataFrame({"a": [0, None, 2, 3, None], "b": [None, 1, 2, 3, None]}) with pytest.raises( ComputeError, - match=r"the name: 'same' passed to `LazyFrame.with_columns` is duplicate.*", + match=r"the name 'same' passed to `LazyFrame.with_columns` is duplicate.*", ): assert df.with_columns([pl.all().alias("same")]).columns == ["a", "b", "same"]