Skip to content

Commit

Permalink
Update failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoV94 committed May 14, 2021
1 parent 77d6c60 commit 090d7f4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pymc3/tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def build_disaster_model(masked=False):


@pytest.mark.xfail(
reason="_check_start_shape fails with start dictionary"
reason="Arviz summary fails"
# condition=(aesara.config.floatX == "float32"), reason="Fails on float32"
)
class TestDisasterModel(SeededTest):
Expand Down Expand Up @@ -222,7 +222,6 @@ def test_disaster_model_missing(self):
az.summary(tr)


@pytest.mark.xfail(reason="_check_start_shape fails with start dictionary")
class TestLatentOccupancy(SeededTest):
"""
From the PyMC example list
Expand Down Expand Up @@ -278,7 +277,7 @@ def test_run(self):
"theta": np.array(5, dtype="f"),
}
step_one = pm.Metropolis([model["theta_interval__"], model["psi_logodds__"]])
step_two = pm.BinaryMetropolis([model.z])
step_two = pm.BinaryMetropolis([model.rvs_to_values[model["z"]]])
pm.sample(50, step=[step_one, step_two], start=start, chains=1)


Expand Down

0 comments on commit 090d7f4

Please sign in to comment.