summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_umath.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_umath.py b/numpy/core/tests/test_umath.py
index 44e59be74..66e75098a 100644
--- a/numpy/core/tests/test_umath.py
+++ b/numpy/core/tests/test_umath.py
@@ -22,8 +22,8 @@ def get_glibc_version():
ver = 0.0
try:
ver = float(os.confstr('CS_GNU_LIBC_VERSION').rsplit(' ')[1])
- except:
- print("Couldn't capture GLIBC version")
+ except Exception as inst:
+ print(inst)
return ver