summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2022-12-02 15:29:00 -0500
committerGitHub <noreply@github.com>2022-12-02 15:29:00 -0500
commitc4ce4e97fe82755c2fd5c9a5d3b2d3577faf5ce7 (patch)
treef0dc23453c80e596d8d74736ed8bca4b28bf4a82 /numpy
parentfb4c963063a28e7f282bd7981750539a5b25f7f7 (diff)
parentd56c48754ba07b36e0e8561887cbc0c732ff54d0 (diff)
downloadnumpy-c4ce4e97fe82755c2fd5c9a5d3b2d3577faf5ce7.tar.gz
Merge pull request #22713 from seberg/numba-systemerror
TST: Skip when numba/numpy compat issues cause SystemError
Diffstat (limited to 'numpy')
-rw-r--r--numpy/random/tests/test_extending.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/random/tests/test_extending.py b/numpy/random/tests/test_extending.py
index aca61bf80..67a84d57d 100644
--- a/numpy/random/tests/test_extending.py
+++ b/numpy/random/tests/test_extending.py
@@ -23,7 +23,8 @@ try:
# numba issue gh-4733
warnings.filterwarnings('always', '', DeprecationWarning)
import numba
-except ImportError:
+except (ImportError, SystemError):
+ # Certain numpy/numba versions trigger a SystemError due to a numba bug
numba = None
try: