Skip to content

Commit 67b80c6

Browse files
author
juanitorduz
committed
patch test
1 parent 67954c7 commit 67b80c6

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

tests/distributions/test_multivariate.py

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,8 +1306,26 @@ def test_kronecker_normal_moment(self, mu, covs, size, expected):
13061306
[
13071307
(3, 1, None, np.zeros(3)),
13081308
(5, 1, None, np.zeros(10)),
1309-
(3, 1, 1, np.zeros((1, 3))),
1310-
(5, 1, (2, 3), np.zeros((2, 3, 10))),
1309+
pytest.param(
1310+
3,
1311+
1,
1312+
1,
1313+
np.zeros((1, 3)),
1314+
marks=pytest.mark.xfail(
1315+
raises=NotImplementedError,
1316+
reason="LKJCorr logp is only implemented for vector values (ndim=1)",
1317+
),
1318+
),
1319+
pytest.param(
1320+
5,
1321+
1,
1322+
(2, 3),
1323+
np.zeros((2, 3, 10)),
1324+
marks=pytest.mark.xfail(
1325+
raises=NotImplementedError,
1326+
reason="LKJCorr logp is only implemented for vector values (ndim=1)",
1327+
),
1328+
),
13111329
],
13121330
)
13131331
def test_lkjcorr_moment(self, n, eta, size, expected):

0 commit comments

Comments
 (0)