Skip to content

Commit

Permalink
Reintroduce xfails in still faulty distributions
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoV94 committed Mar 22, 2021
1 parent 59950dd commit 6ba2c19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions pymc3/tests/test_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1653,6 +1653,7 @@ def test_zeroinflatedbinomial_logcdf(self):
n_samples=10,
)

@pytest.mark.xfail(reason="Distribution not refactored yet")
@pytest.mark.parametrize("n", [1, 2, 3])
def test_mvnormal(self, n):
self.check_logp(
Expand Down
2 changes: 2 additions & 0 deletions pymc3/tests/test_distributions_random.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,7 @@ def ref_rand(size, q, beta):
pm.DiscreteWeibull, {"q": Unit, "beta": Rplusdunif}, ref_rand=ref_rand
)

@pytest.mark.xfail(reason="Needs debugging")
@pytest.mark.parametrize("s", [2, 3, 4])
def test_categorical_random(self, s):
def ref_rand(size, p):
Expand All @@ -801,6 +802,7 @@ def ref_rand(size, c):

pymc3_random_discrete(pm.Constant, {"c": I}, ref_rand=ref_rand)

@pytest.mark.xfail(reason="Not refactored yet")
def test_mv_normal(self):
def ref_rand(size, mu, cov):
return st.multivariate_normal.rvs(mean=mu, cov=cov, size=size)
Expand Down

0 comments on commit 6ba2c19

Please sign in to comment.