Skip to content

Commit

Permalink
Regex update in test-write_df.py
Browse files Browse the repository at this point in the history
  • Loading branch information
emprzy committed Nov 20, 2024
1 parent c1e79c2 commit 4fd1b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flepimop/gempyor_pkg/tests/utils/test_write_df.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_raises_not_implemented_error(self) -> None:
write_df(fname=temp_file.name, df=self.sample_df)
with pytest.raises(
expected_exception=NotImplementedError,
match="Invalid extension txt. Must be 'csv' or 'parquet'.",
match=r".*Supported extensions are `.csv` or `.parquet`.",
) as _:
with NamedTemporaryFile(suffix=".txt") as temp_file:
fname = temp_file.name[:-4]
Expand Down

0 comments on commit 4fd1b11

Please sign in to comment.