Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-beedie committed Jun 23, 2024
1 parent 5c12ba4 commit 64982d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/tests/unit/test_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down

0 comments on commit 64982d7

Please sign in to comment.