Skip to content

Commit 18fd1f5

Browse files
committed
Update test_distributions.py
1 parent e6335e1 commit 18fd1f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/tests/test_distributions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1699,7 +1699,7 @@ def test_dirichlet(self, n):
16991699
def test_dirichlet_with_unit_batch_shape(self):
17001700
with pm.Model() as model:
17011701
a = pm.Dirichlet("a", a=np.ones((1, 2)))
1702-
np.isfinite(model.check_test_point()[0])
1702+
assert np.isfinite(model.check_test_point()[0])
17031703

17041704
def test_dirichlet_shape(self):
17051705
a = tt.as_tensor_variable(np.r_[1, 2])

0 commit comments

Comments
 (0)