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

numpy-svn@scip... numpy-svn@scip...
Sun Jul 20 18:34:14 CDT 2008


Author: charris
Date: 2008-07-20 18:34:11 -0500 (Sun, 20 Jul 2008)
New Revision: 5480

Modified:
   trunk/numpy/core/tests/test_regression.py
Log:
Make regression test work for reverted NaN fix.

Modified: trunk/numpy/core/tests/test_regression.py
===================================================================
--- trunk/numpy/core/tests/test_regression.py	2008-07-20 23:26:40 UTC (rev 5479)
+++ trunk/numpy/core/tests/test_regression.py	2008-07-20 23:34:11 UTC (rev 5480)
@@ -1167,7 +1167,7 @@
         """Ticket 794."""
         C = np.array([-np.inf, -2+1j, 0, 2-1j, np.inf, np.nan])
         have = np.sign(C)
-        want = np.array([-1+0j, -1+0j, 0+0j, 1+0j, 1+0j, np.nan+0j])
+        want = np.array([-1+0j, -1+0j, 0+0j, 1+0j, 1+0j, 0+0j])
         assert_equal(have, want)
 
 



More information about the Numpy-svn mailing list