diff --git a/ndindex/tests/test_shapetools.py b/ndindex/tests/test_shapetools.py index 6eea536b..17531deb 100644 --- a/ndindex/tests/test_shapetools.py +++ b/ndindex/tests/test_shapetools.py @@ -1,7 +1,7 @@ import numpy as np try: from numpy import AxisError as np_AxisError -except ImportError: +except ImportError: # pragma: no cover from numpy.exceptions import AxisError as np_AxisError from hypothesis import assume, given, example