Skip to content

Commit

Permalink
Updating a RegEx in test_model_info.py
Browse files Browse the repository at this point in the history
  • Loading branch information
emprzy committed Nov 8, 2024
1 parent 1934338 commit a6c3585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flepimop/gempyor_pkg/tests/seir/test_model_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_ModelInfo_init_tf_is_ahead_of_ti_fail(self):
config.read(user=False)
config.set_file(f"{DATA_DIR}/config_test.yml")
config["start_date"] = "2022-01-02"
with pytest.raises(ValueError, match=r"tf.*is less than or equal to ti.*"):
with pytest.raises(ValueError, match=r"`tf`\s?\(time to finish\)\s?is less than or equal to\s?`ti`\s?\(time to start\)\."):
s = ModelInfo(
config=config,
seir_modifiers_scenario=None,
Expand Down

0 comments on commit a6c3585

Please sign in to comment.