@@ -885,8 +885,10 @@ def test_chi_squared(self):
885
885
lambda value , nu : sp .chi2 .logpdf (value , df = nu ),
886
886
)
887
887
888
- # TODO: Is this still needed? It passes locally.
889
- # @pytest.mark.xfail(reason="Poor CDF in SciPy. See scipy/scipy#869 for details.")
888
+ @pytest .mark .xfail (
889
+ condition = (theano .config .floatX == "float32" ),
890
+ reason = "Poor CDF in SciPy. See scipy/scipy#869 for details." ,
891
+ )
890
892
def test_wald_scipy (self ):
891
893
self .pymc3_matches_scipy (
892
894
Wald ,
@@ -1178,7 +1180,7 @@ def test_fun(value, mu, sigma):
1178
1180
Rplus ,
1179
1181
{"alpha" : Rplusbig , "beta" : Rplusbig },
1180
1182
lambda value , alpha , beta : sp .gamma .logcdf (value , alpha , scale = 1.0 / beta ),
1181
- skip_paramdomain_outside_edge_test = True , # TODO: This is failing mysteriously
1183
+ skip_paramdomain_outside_edge_test = True , # TODO: When True, Python crashes
1182
1184
)
1183
1185
1184
1186
@pytest .mark .xfail (
@@ -1197,7 +1199,7 @@ def test_inverse_gamma(self):
1197
1199
Rplus ,
1198
1200
{"alpha" : Rplus , "beta" : Rplus },
1199
1201
lambda value , alpha , beta : sp .invgamma .logcdf (value , alpha , scale = beta ),
1200
- skip_paramdomain_outside_edge_test = True , # TODO: This is failing mysteriously
1202
+ skip_paramdomain_outside_edge_test = True , # TODO: When True, Python crashes
1201
1203
)
1202
1204
1203
1205
@pytest .mark .xfail (
0 commit comments