diff options
author | Pauli Virtanen <pav@iki.fi> | 2009-03-03 20:14:47 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2009-03-03 20:14:47 +0000 |
commit | 66f36130a827212e1eb01906a16a015b2908a2a2 (patch) | |
tree | 71e51e2a04730e5d5f55dc082b322e632b72ff61 | |
parent | d842f52d18f9ced1531f1827486b0536bb001529 (diff) | |
download | numpy-66f36130a827212e1eb01906a16a015b2908a2a2.tar.gz |
cmath.asinh is still broken in Python 2.5.4: don't compare against it unless Python version >= 2.6
-rw-r--r-- | numpy/core/tests/test_umath.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/tests/test_umath.py b/numpy/core/tests/test_umath.py index 8a9be6374..a5e50290f 100644 --- a/numpy/core/tests/test_umath.py +++ b/numpy/core/tests/test_umath.py @@ -401,7 +401,7 @@ class TestComplexFunctions(object): # cmath.asinh is broken in some versions of Python, see # http://bugs.python.org/issue1381 broken_cmath_asinh = False - if sys.version_info < (2,5,3): + if sys.version_info < (2,6): broken_cmath_asinh = True points = [-1-1j, -1+1j, +1-1j, +1+1j] |