Skip to content

Commit

Permalink
patch test
Browse files Browse the repository at this point in the history
  • Loading branch information
juanitorduz committed Dec 13, 2023
1 parent 67954c7 commit 67b80c6
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions tests/distributions/test_multivariate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1306,8 +1306,26 @@ def test_kronecker_normal_moment(self, mu, covs, size, expected):
[
(3, 1, None, np.zeros(3)),
(5, 1, None, np.zeros(10)),
(3, 1, 1, np.zeros((1, 3))),
(5, 1, (2, 3), np.zeros((2, 3, 10))),
pytest.param(
3,
1,
1,
np.zeros((1, 3)),
marks=pytest.mark.xfail(
raises=NotImplementedError,
reason="LKJCorr logp is only implemented for vector values (ndim=1)",
),
),
pytest.param(
5,
1,
(2, 3),
np.zeros((2, 3, 10)),
marks=pytest.mark.xfail(
raises=NotImplementedError,
reason="LKJCorr logp is only implemented for vector values (ndim=1)",
),
),
],
)
def test_lkjcorr_moment(self, n, eta, size, expected):
Expand Down

0 comments on commit 67b80c6

Please sign in to comment.