From a6c358548585b85b7818aabcf798b84eb4221734 Mon Sep 17 00:00:00 2001 From: Emily Przykucki Date: Fri, 8 Nov 2024 14:34:09 -0500 Subject: [PATCH] Updating a RegEx in `test_model_info.py` --- flepimop/gempyor_pkg/tests/seir/test_model_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flepimop/gempyor_pkg/tests/seir/test_model_info.py b/flepimop/gempyor_pkg/tests/seir/test_model_info.py index 3fbf21a75..28855f2f4 100644 --- a/flepimop/gempyor_pkg/tests/seir/test_model_info.py +++ b/flepimop/gempyor_pkg/tests/seir/test_model_info.py @@ -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,