[Numpy-svn] r6175 - trunk/numpy/core/tests

numpy-svn@scip... numpy-svn@scip...
Sat Dec 20 07:40:42 CST 2008


Author: ptvirtan
Date: 2008-12-20 07:40:30 -0600 (Sat, 20 Dec 2008)
New Revision: 6175

Modified:
   trunk/numpy/core/tests/test_umath.py
Log:
test_umath: don't check against cmath on branch cuts, since the behavior of our functions varies across platforms on them

Modified: trunk/numpy/core/tests/test_umath.py
===================================================================
--- trunk/numpy/core/tests/test_umath.py	2008-12-19 17:58:57 UTC (rev 6174)
+++ trunk/numpy/core/tests/test_umath.py	2008-12-20 13:40:30 UTC (rev 6175)
@@ -404,7 +404,7 @@
         if sys.version_info < (2,5,3):
             broken_cmath_asinh = True
 
-        points = [-2, 2j, 2, -2j, -1-1j, -1+1j, +1-1j, +1+1j]
+        points = [-1-1j, -1+1j, +1-1j, +1+1j]
         name_map = {'arcsin': 'asin', 'arccos': 'acos', 'arctan': 'atan',
                     'arcsinh': 'asinh', 'arccosh': 'acosh', 'arctanh': 'atanh'}
         atol = 4*np.finfo(np.complex).eps



More information about the Numpy-svn mailing list