Skip to content

Commit d8bf4ba

Browse files
zoj613ricardoV94
authored andcommitted
Add missing assertion in DiscreteUniform moment unittest
1 parent f84c212 commit d8bf4ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pymc/tests/test_distributions_moments.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,7 @@ def test_hyper_geometric_moment(N, k, n, size, expected):
749749
def test_discrete_uniform_moment(lower, upper, size, expected):
750750
with Model() as model:
751751
DiscreteUniform("x", lower=lower, upper=upper, size=size)
752+
assert_moment_is_expected(model, expected)
752753

753754

754755
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)