Skip to content

Commit dcfe518

Browse files
committed
minor edit to respond to Pascal's suggestion
1 parent 4c0858d commit dcfe518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/hmc/test_hmc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
try:
88
from hmc import HMC_sampler
9-
except:
9+
except ImportError as e:
1010
# python 3 compatibility
1111
# http://stackoverflow.com/questions/3073259/python-nose-import-error
1212
from hmc.hmc import HMC_sampler

0 commit comments

Comments
 (0)