Skip to content

Condition xfails on Windows after bug fix affected linux only #4902

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions pymc3/tests/test_ode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""

Expand Down Expand Up @@ -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"""

Expand Down Expand Up @@ -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"""

Expand Down