Skip to content

Commit

Permalink
fix: change ModuleNotFound --> ImportError
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-murray committed May 31, 2020
1 parent 24bfe70 commit c4f712b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hankel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

try:
from hankel._version import __version__
except ModuleNotFoundError: # pragma: nocover
except ImportError: # pragma: nocover
# package is not installed
pass

Expand Down

0 comments on commit c4f712b

Please sign in to comment.