Skip to content

Commit

Permalink
update test_invalid_concat_type_err match
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-beedie committed Jan 9, 2025
1 parent 167e18d commit 440e847
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 @@ -268,7 +268,7 @@ def test_invalid_concat_type_err() -> None:
)
with pytest.raises(
ValueError,
match="DataFrame `how` must be one of {'vertical', 'vertical_relaxed', 'diagonal', 'diagonal_relaxed', 'horizontal', 'align'}, got 'sausage'",
match="DataFrame `how` must be one of {'vertical', '.+', 'align_right'}, got 'sausage'",
):
pl.concat([df, df], how="sausage") # type: ignore[arg-type]

Expand Down

0 comments on commit 440e847

Please sign in to comment.