Skip to content

Commit

Permalink
Regex update in test_random_distribution_sampler.py
Browse files Browse the repository at this point in the history
  • Loading branch information
emprzy committed Nov 18, 2024
1 parent d760ddc commit 7e19700
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_not_implemented_error_exception(self, distribution: str) -> None:
def test_binomial_p_value_error(self, p: float) -> None:
with pytest.raises(
ValueError,
match=r"^Invalid\s`p-value`.*\s'is\sout\sof\srange.*'",
match=r"^Invalid\s`p-value`.*\sis\sout\sof\srange.*$",
):
random_distribution_sampler("binomial", n=100, p=p)

Expand Down

0 comments on commit 7e19700

Please sign in to comment.