diff --git a/pymc3/tests/test_ode.py b/pymc3/tests/test_ode.py index 09be4f6d23..3ce7ed473a 100644 --- a/pymc3/tests/test_ode.py +++ b/pymc3/tests/test_ode.py @@ -173,7 +173,7 @@ def ode_func_5(y, t, p): np.testing.assert_array_equal(np.ravel(model5_sens_ic), model5._sens_ic) -@pytest.mark.xfail(reason="https://github.com/pymc-devs/aesara/issues/390") +@pytest.mark.xfail(condition=IS_WINDOWS, reason="https://github.com/pymc-devs/aesara/issues/390") def test_logp_scalar_ode(): """Test the computation of the log probability for these models""" @@ -270,7 +270,9 @@ def ode_func(y, t, p): assert op_1 != op_other return - @pytest.mark.xfail(reason="https://github.com/pymc-devs/aesara/issues/390") + @pytest.mark.xfail( + condition=IS_WINDOWS, reason="https://github.com/pymc-devs/aesara/issues/390" + ) def test_scalar_ode_1_param(self): """Test running model for a scalar ODE with 1 parameter""" @@ -299,7 +301,9 @@ def system(y, t, p): assert idata.posterior["y0"].shape == (1, 100) assert idata.posterior["sigma"].shape == (1, 100) - @pytest.mark.xfail(reason="https://github.com/pymc-devs/aesara/issues/390") + @pytest.mark.xfail( + condition=IS_WINDOWS, reason="https://github.com/pymc-devs/aesara/issues/390" + ) def test_scalar_ode_2_param(self): """Test running model for a scalar ODE with 2 parameters"""