diff options
author | Andrew Watson <awatson@math.utah.edu> | 2021-07-03 08:49:14 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-03 08:49:14 -0600 |
commit | 5a42312d1ebf2f86e7a9215513585bdd81b4d19b (patch) | |
tree | 9ca35c0bb977653652853fddedea0b4f8070a644 /numpy/lib/utils.py | |
parent | 7949ba5ec0543d3b1fd68e95072838fbb3333492 (diff) | |
download | numpy-5a42312d1ebf2f86e7a9215513585bdd81b4d19b.tar.gz |
Update numpy/lib/utils.py
Co-authored-by: Matti Picus <matti.picus@gmail.com>
Diffstat (limited to 'numpy/lib/utils.py')
-rw-r--r-- | numpy/lib/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/utils.py b/numpy/lib/utils.py index bfc58c8bd..b1a916d4a 100644 --- a/numpy/lib/utils.py +++ b/numpy/lib/utils.py @@ -904,7 +904,7 @@ def _lookfor_generate_cache(module, import_modules, regenerate): sys.stdout = old_stdout sys.stderr = old_stderr # Catch SystemExit, too - except SystemExit: + except (Exception, SystemExit): continue for n, v in _getmembers(item): |