Skip to content

Commit

Permalink
Regex update in test_statistic_class.py
Browse files Browse the repository at this point in the history
  • Loading branch information
emprzy committed Dec 2, 2024
1 parent d74a214 commit d508793
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def test_unsupported_regularizations_value_error(
]
if reg_name not in ["forecast", "allsubpop"]
)
with pytest.raises(ValueError, match=rf"^Unsupported regularization \[received: '{mock_inputs.config.get('regularize', [])}'\]"):
with pytest.raises(ValueError, match=rf"^Unsupported regularization \[received: 'invalid'\]"):
mock_inputs.create_statistic_instance()

@pytest.mark.parametrize("factory", all_valid_factories)
Expand Down

0 comments on commit d508793

Please sign in to comment.