Skip to content

Commit

Permalink
Update test_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
emprzy committed Dec 3, 2024
1 parent fb6c9ed commit 8255da2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flepimop/gempyor_pkg/tests/utils/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 8255da2

Please sign in to comment.