Skip to content

Commit c4ce4e9

Browse files
authored
Merge pull request numpy#22713 from seberg/numba-systemerror
TST: Skip when numba/numpy compat issues cause SystemError
2 parents fb4c963 + d56c487 commit c4ce4e9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

numpy/random/tests/test_extending.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
# numba issue gh-4733
2424
warnings.filterwarnings('always', '', DeprecationWarning)
2525
import numba
26-
except ImportError:
26+
except (ImportError, SystemError):
27+
# Certain numpy/numba versions trigger a SystemError due to a numba bug
2728
numba = None
2829

2930
try:

0 commit comments

Comments
 (0)