@@ -1571,7 +1571,7 @@ def test_Triangular(
1571
1571
assert prior ["target" ].shape == (prior_samples ,) + shape
1572
1572
1573
1573
1574
- def generate_shapes (include_params = False , xfail = False ):
1574
+ def generate_shapes (include_params = False ):
1575
1575
# fmt: off
1576
1576
mudim_as_event = [
1577
1577
[None , 1 , 3 , 10 , (10 , 3 ), 100 ],
@@ -1590,20 +1590,13 @@ def generate_shapes(include_params=False, xfail=False):
1590
1590
del mudim_as_event [- 1 ]
1591
1591
del mudim_as_dist [- 1 ]
1592
1592
data = itertools .chain (itertools .product (* mudim_as_event ), itertools .product (* mudim_as_dist ))
1593
- if xfail :
1594
- data = list (data )
1595
- for index in range (len (data )):
1596
- if data [index ][0 ] in (None , 1 ):
1597
- data [index ] = pytest .param (
1598
- * data [index ], marks = pytest .mark .xfail (reason = "wait for PR #4214" )
1599
- )
1600
1593
return data
1601
1594
1602
1595
1603
1596
class TestMvNormal (SeededTest ):
1604
1597
@pytest .mark .parametrize (
1605
1598
["sample_shape" , "dist_shape" , "mu_shape" , "param" ],
1606
- generate_shapes (include_params = True , xfail = False ),
1599
+ generate_shapes (include_params = True ),
1607
1600
ids = str ,
1608
1601
)
1609
1602
def test_with_np_arrays (self , sample_shape , dist_shape , mu_shape , param ):
@@ -1613,7 +1606,7 @@ def test_with_np_arrays(self, sample_shape, dist_shape, mu_shape, param):
1613
1606
1614
1607
@pytest .mark .parametrize (
1615
1608
["sample_shape" , "dist_shape" , "mu_shape" ],
1616
- generate_shapes (include_params = False , xfail = True ),
1609
+ generate_shapes (include_params = False ),
1617
1610
ids = str ,
1618
1611
)
1619
1612
def test_with_chol_rv (self , sample_shape , dist_shape , mu_shape ):
@@ -1630,7 +1623,7 @@ def test_with_chol_rv(self, sample_shape, dist_shape, mu_shape):
1630
1623
1631
1624
@pytest .mark .parametrize (
1632
1625
["sample_shape" , "dist_shape" , "mu_shape" ],
1633
- generate_shapes (include_params = False , xfail = True ),
1626
+ generate_shapes (include_params = False ),
1634
1627
ids = str ,
1635
1628
)
1636
1629
def test_with_cov_rv (self , sample_shape , dist_shape , mu_shape ):
0 commit comments