diff --git a/flepimop/gempyor_pkg/tests/seir/test_seir.py b/flepimop/gempyor_pkg/tests/seir/test_seir.py index a9e3db633..eeb04fff8 100644 --- a/flepimop/gempyor_pkg/tests/seir/test_seir.py +++ b/flepimop/gempyor_pkg/tests/seir/test_seir.py @@ -129,7 +129,7 @@ def test_constant_population_legacy_integration(): def test_constant_population_rk4jit_integration_fail(): with pytest.raises( - ValueError, match=rf"'{modinf.seir_config['integration']['method'].get()}' integration method only supports deterministic integration.*" + ValueError, match=r"'rk4.jit' integration method only supports deterministic integration.*" ): config.set_file(f"{DATA_DIR}/config.yml")