Skip to content

Commit 1d41eb7

Browse files
committed
revert remaining changes in irrelevant tests
1 parent ffc059f commit 1d41eb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/distributions/test_discrete.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ def test_logp_matches_poisson(self):
9494
logp_fn(9, mu=5, lam=-1) == -np.inf
9595

9696
# Check mu/lam restrictions
97-
with pytest.raises(ValueError):
97+
with pytest.raises(ParameterValueError):
9898
logp_fn(1, mu=1, lam=2)
9999

100-
with pytest.raises(ValueError):
100+
with pytest.raises(ParameterValueError):
101101
logp_fn(1, mu=0, lam=0)
102102

103103
with pytest.raises(ParameterValueError):

0 commit comments

Comments
 (0)