From 4fd1b116f40d776988cbe3c667700c9d53a83ab9 Mon Sep 17 00:00:00 2001 From: Emily Przykucki Date: Wed, 20 Nov 2024 12:23:50 -0500 Subject: [PATCH] Regex update in `test-write_df.py` --- flepimop/gempyor_pkg/tests/utils/test_write_df.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flepimop/gempyor_pkg/tests/utils/test_write_df.py b/flepimop/gempyor_pkg/tests/utils/test_write_df.py index 314c24152..8f4e18baf 100644 --- a/flepimop/gempyor_pkg/tests/utils/test_write_df.py +++ b/flepimop/gempyor_pkg/tests/utils/test_write_df.py @@ -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]