Skip to content

Commit

Permalink
test: Fix incorrect error type in test
Browse files Browse the repository at this point in the history
  • Loading branch information
aseyboldt committed Apr 16, 2024
1 parent 67a4eca commit cb94347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_pymc.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,5 @@ def test_pymc_model_shared():
np.testing.assert_allclose(trace2.posterior.a.mean().values, 10.0, atol=0.5)

compiled3 = compiled.with_data(mu=0.5, sigma=3 * np.ones(4))
with pytest.raises(ValueError):
with pytest.raises(RuntimeError):
nutpie.sample(compiled3, chains=1)

0 comments on commit cb94347

Please sign in to comment.