Skip to content

Commit

Permalink
Updating a unit test in test_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
emprzy committed Nov 20, 2024
1 parent 97d3996 commit 918ebc7
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 @@ -37,7 +37,7 @@ def test_read_df_and_write_success(fname, extension):
("fname", "extension"), [("mobility", "csv"), ("usa-geoid-params-output", "parquet")]
)
def test_read_df_and_write_fail(fname, extension):
with pytest.raises(NotImplementedError, match=r".*Invalid.*extension.*Must.*"):
with pytest.raises(ValueError, match=r".*Invalid.*extension.*Must.*"):
os.chdir(tmp_path)
os.makedirs("data", exist_ok=True)
os.chdir("data")
Expand Down

0 comments on commit 918ebc7

Please sign in to comment.