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 Dec 2, 2024
1 parent 1daed72 commit 239f5a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class TestRandomDistributionSampler:
def test_not_implemented_error_exception(self, distribution: str) -> None:
with pytest.raises(
NotImplementedError,
match=rf"^Unknown distribution \[received.*",
match=rf"^Unknown distribution \[received '{distribution}'\]",
):
random_distribution_sampler(distribution)

Expand Down

0 comments on commit 239f5a0

Please sign in to comment.