Skip to content

Commit cb94347

Browse files
committed
test: Fix incorrect error type in test
1 parent 67a4eca commit cb94347

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_pymc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,5 @@ def test_pymc_model_shared():
9292
np.testing.assert_allclose(trace2.posterior.a.mean().values, 10.0, atol=0.5)
9393

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

0 commit comments

Comments
 (0)