summaryrefslogtreecommitdiff
path: root/numpy/__init__.py
diff options
context:
space:
mode:
authorashutosh619-sudo <ashutoshsinghrkt@gmail.com>2020-07-19 04:36:17 +0530
committerashutosh619-sudo <ashutoshsinghrkt@gmail.com>2020-07-19 04:36:17 +0530
commit5dd1fe6d2335cd56d5e93b5a3f9484456b961a4f (patch)
tree74dee2e0b17598ef16315f5e050889acb3f5fdc5 /numpy/__init__.py
parent6bb947c8dc3d5c154807d79861a7e5e995a6dc50 (diff)
downloadnumpy-5dd1fe6d2335cd56d5e93b5a3f9484456b961a4f.tar.gz
Fix exception causes in __init__.py
Diffstat (limited to 'numpy/__init__.py')
-rw-r--r--numpy/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/__init__.py b/numpy/__init__.py
index 171067fcf..6c4ac98bd 100644
--- a/numpy/__init__.py
+++ b/numpy/__init__.py
@@ -295,7 +295,7 @@ else:
"by incorrect BLAS library being linked in, or by mixing "
"package managers (pip, conda, apt, ...). Search closed "
"numpy issues for similar problems.")
- raise RuntimeError(msg.format(__file__))
+ raise RuntimeError(msg.format(__file__)) from None
_sanity_check()
del _sanity_check