Skip to content

Commit

Permalink
Update test import exception
Browse files Browse the repository at this point in the history
  • Loading branch information
zoj613 committed Mar 28, 2021
1 parent 3a9a4ce commit 7cc0746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymc3/tests/test_distributions_random.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
try:
pm.PolyaGamma.rv_op.rng_fn()
polyagamma_not_installed = False
except RuntimeError: # pragma: no cover
except (AttributeError, RuntimeError): # pragma: no cover
polyagamma_not_installed = True

from pymc3.aesaraf import floatX, intX
Expand Down

0 comments on commit 7cc0746

Please sign in to comment.