From 8255da25ae91c077d233b6ca9b5347d2c4518aed Mon Sep 17 00:00:00 2001 From: Emily Przykucki Date: Tue, 3 Dec 2024 16:00:52 -0500 Subject: [PATCH] Update test_utils.py --- flepimop/gempyor_pkg/tests/utils/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flepimop/gempyor_pkg/tests/utils/test_utils.py b/flepimop/gempyor_pkg/tests/utils/test_utils.py index 817b8db55..d83bc04e8 100644 --- a/flepimop/gempyor_pkg/tests/utils/test_utils.py +++ b/flepimop/gempyor_pkg/tests/utils/test_utils.py @@ -57,7 +57,7 @@ def test_read_df_and_write_fail(fname, extension): @pytest.mark.parametrize(("fname", "extension"), [("mobility", "")]) def test_read_df_fail(fname, extension): - with pytest.raises(NotImplementedError, match=r"Invalid extension provided: ''. Supported extensions are `.csv` or `.parquet`."): + with pytest.raises(NotImplementedError, match=r"Invalid extension provided: '.'. Supported extensions are `.csv` or `.parquet`."): os.chdir(tmp_path) utils.read_df(fname=f"{DATA_DIR}/" + fname, extension=extension)