diff options
author | ashutosh619-sudo <ashutoshsinghrkt@gmail.com> | 2020-07-19 04:36:17 +0530 |
---|---|---|
committer | ashutosh619-sudo <ashutoshsinghrkt@gmail.com> | 2020-07-19 04:36:17 +0530 |
commit | 5dd1fe6d2335cd56d5e93b5a3f9484456b961a4f (patch) | |
tree | 74dee2e0b17598ef16315f5e050889acb3f5fdc5 /numpy/__init__.py | |
parent | 6bb947c8dc3d5c154807d79861a7e5e995a6dc50 (diff) | |
download | numpy-5dd1fe6d2335cd56d5e93b5a3f9484456b961a4f.tar.gz |
Fix exception causes in __init__.py
Diffstat (limited to 'numpy/__init__.py')
-rw-r--r-- | numpy/__init__.py | 2 |
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 |