Skip to content

Commit 7621508

Browse files
committed
minor change
1 parent 1c39540 commit 7621508

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/distributions/test_distribution.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,17 @@ def test_issue_4499(self):
8282
with pm.Model(check_bounds=False) as m:
8383
x = pm.DiracDelta("x", 1, size=10)
8484
npt.assert_almost_equal(m.compile_logp()({"x": np.ones(10)}), 0 * 10)
85+
8586
def test_issue_7548(self):
86-
#Test for bug in Multinomial, it should raise when trying to sample a Multinomial variable
87+
# Test for bug in Multinomial, it should raise when trying to sample a Multinomial variable
8788
with pm.Model() as model:
8889
p = [0.3, 0.4, 0.3]
8990
n = 10
9091
x = pm.Multinomial("x", n=n, p=p)
9192
with pytest.raises(ValueError, match="Latent Multinomial variables are not supported"):
9293
pm.sample(draws=100, chains=1)
9394

95+
9496
def test_all_distributions_have_support_points():
9597
import pymc.distributions as dist_module
9698

0 commit comments

Comments
 (0)