Skip to content

Commit e875889

Browse files
Update xfails in pymc3.tests.test_distributions
1 parent c014fba commit e875889

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pymc3/tests/test_distributions.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,7 @@ def test_chi_squared(self):
985985
lambda value, nu: sp.chi2.logpdf(value, df=nu),
986986
)
987987

988+
@pytest.mark.xfail(reason="Distribution not refactored yet")
988989
@pytest.mark.xfail(
989990
condition=(aesara.config.floatX == "float32"),
990991
reason="Poor CDF in SciPy. See scipy/scipy#869 for details.",
@@ -1004,6 +1005,7 @@ def test_wald_scipy(self):
10041005
lambda value, mu, alpha: sp.invgauss.logcdf(value, mu=mu, loc=alpha),
10051006
)
10061007

1008+
@pytest.mark.xfail(reason="Distribution not refactored yet")
10071009
@pytest.mark.parametrize(
10081010
"value,mu,lam,phi,alpha,logp",
10091011
[
@@ -1023,7 +1025,6 @@ def test_wald_scipy(self):
10231025
(50.0, 15.0, None, 0.666666, 10.0, -5.6481874),
10241026
],
10251027
)
1026-
@pytest.mark.xfail(reason="Distribution not refactored yet")
10271028
def test_wald(self, value, mu, lam, phi, alpha, logp):
10281029
# Log probabilities calculated using the dIG function from the R package gamlss.
10291030
# See e.g., doi: 10.1111/j.1467-9876.2005.00510.x, or
@@ -1174,6 +1175,7 @@ def scipy_mu_alpha_logcdf(value, mu, alpha):
11741175
n_samples=10,
11751176
)
11761177

1178+
@pytest.mark.xfail(reason="Distribution not refactored yet")
11771179
@pytest.mark.parametrize(
11781180
"mu, p, alpha, n, expected",
11791181
[
@@ -1189,7 +1191,6 @@ def scipy_mu_alpha_logcdf(value, mu, alpha):
11891191
(5, 0.5, None, 2, "Can't specify both mu and p."),
11901192
],
11911193
)
1192-
@pytest.mark.xfail(reason="Distribution not refactored yet")
11931194
def test_negative_binomial_init_fail(self, mu, p, alpha, n, expected):
11941195
with Model():
11951196
with pytest.raises(ValueError, match=f"Incompatible parametrization. {expected}"):
@@ -1592,6 +1593,7 @@ def test_zeroinflatedbinomial(self):
15921593
n_samples=10,
15931594
)
15941595

1596+
@pytest.mark.xfail(reason="Distribution not refactored yet")
15951597
@pytest.mark.parametrize("n", [1, 2, 3])
15961598
def test_mvnormal(self, n):
15971599
self.check_logp(

0 commit comments

Comments
 (0)