Skip to content

Commit 19dcc45

Browse files
committed
Update failing tests
1 parent 9b963eb commit 19dcc45

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pymc3/tests/test_examples.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def build_disaster_model(masked=False):
194194

195195

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

224224

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

284283

0 commit comments

Comments
 (0)