From d760ddc8ed821e0da0c232240fe1a14205b38852 Mon Sep 17 00:00:00 2001 From: Emily Przykucki Date: Mon, 18 Nov 2024 16:27:07 -0500 Subject: [PATCH] Regex update in `test_random_distribution_sampler.py` --- .../gempyor_pkg/tests/utils/test_random_distribution_sampler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flepimop/gempyor_pkg/tests/utils/test_random_distribution_sampler.py b/flepimop/gempyor_pkg/tests/utils/test_random_distribution_sampler.py index 41846a632..5283babbc 100644 --- a/flepimop/gempyor_pkg/tests/utils/test_random_distribution_sampler.py +++ b/flepimop/gempyor_pkg/tests/utils/test_random_distribution_sampler.py @@ -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=rf"^p value {p} is out of range \[0\,1\]$", + match=r"^Invalid\s`p-value`.*\s'is\sout\sof\srange.*'", ): random_distribution_sampler("binomial", n=100, p=p)