Skip to content

Commit 43585e1

Browse files
fix after rebase
1 parent b0cf4c5 commit 43585e1

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

pymc/tests/test_distributions_moments.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,7 @@ def test_halfstudentt_moment(nu, sigma, size, expected):
159159
assert_moment_is_expected(model, expected)
160160

161161

162-
@pytest.mark.skip(
163-
reason="aeppl interval transform fails when both edges are None"
164-
)
162+
@pytest.mark.skip(reason="aeppl interval transform fails when both edges are None")
165163
@pytest.mark.parametrize(
166164
"mu, sigma, lower, upper, size, expected",
167165
[
@@ -173,9 +171,7 @@ def test_halfstudentt_moment(nu, sigma, size, expected):
173171
)
174172
def test_truncatednormal_moment(mu, sigma, lower, upper, size, expected):
175173
with Model() as model:
176-
TruncatedNormal(
177-
"x", mu=mu, sigma=sigma, lower=lower, upper=upper, size=size
178-
)
174+
TruncatedNormal("x", mu=mu, sigma=sigma, lower=lower, upper=upper, size=size)
179175
assert_moment_is_expected(model, expected)
180176

181177

@@ -541,8 +537,6 @@ def test_hyper_geometric_moment(N, k, n, size, expected):
541537
with Model() as model:
542538
HyperGeometric("x", N=N, k=k, n=n, size=size)
543539
assert_moment_is_expected(model, expected)
544-
<<<<<<< HEAD
545-
=======
546540

547541

548542
@pytest.mark.parametrize(
@@ -563,4 +557,3 @@ def test_discrete_uniform_moment(lower, upper, size, expected):
563557
with Model() as model:
564558
DiscreteUniform("x", lower=lower, upper=upper, size=size)
565559
assert_moment_is_expected(model, expected)
566-
>>>>>>> 530892a2... add discrete uniform moment

0 commit comments

Comments
 (0)