Skip to content

Commit b52c737

Browse files
msarahanoleksandr-pavlyk
authored andcommitted
py27: change ModuleNotFoundError to ImportError
1 parent 4acb44f commit b52c737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkl_fft/_pydfti.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import numpy as np
2929
cimport numpy as cnp
3030
try:
3131
from numpy.core.multiarray_tests import internal_overlap
32-
except ModuleNotFoundError:
32+
except ImportError:
3333
# Module has been renamed in NumPy 1.15
3434
from numpy.core._multiarray_tests import internal_overlap
3535

0 commit comments

Comments
 (0)