Skip to content

Commit

Permalink
importorskip nutpie backend test
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegrabowski committed Sep 10, 2024
1 parent de0c311 commit 763cd87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/sampling/test_mcmc_external.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def test_numba_backend_options(pymc_model, recwarn, backend):


def test_invalid_nutpie_backend_raises(pymc_model):
pytest.importorskip("nutpie")
with pytest.raises(ValueError, match='Expected one of "numba" or "jax"; found "invalid"'):
with pymc_model:
sample(nuts_sampler="nutpie[invalid]", random_seed=123, chains=2, tune=500, draws=500)
Expand Down

0 comments on commit 763cd87

Please sign in to comment.