[Numpy-svn] r5701 - trunk/numpy/lib/tests

numpy-svn at scipy.org numpy-svn at scipy.org
Mon Aug 25 18:06:03 EDT 2008


Author: cdavid
Date: 2008-08-25 17:06:00 -0500 (Mon, 25 Aug 2008)
New Revision: 5701

Modified:
   trunk/numpy/lib/tests/test_ufunclike.py
Log:
Fix fix tests.


Modified: trunk/numpy/lib/tests/test_ufunclike.py
===================================================================
--- trunk/numpy/lib/tests/test_ufunclike.py	2008-08-25 22:05:51 UTC (rev 5700)
+++ trunk/numpy/lib/tests/test_ufunclike.py	2008-08-25 22:06:00 UTC (rev 5701)
@@ -6,14 +6,14 @@
 >>> a = nx.array([[1.0, 1.1, 1.5, 1.8], [-1.0, -1.1, -1.5, -1.8]])
 >>> U.fix(a)
 array([[ 1.,  1.,  1.,  1.],
-       [ 0., -1., -1., -1.]])
+       [-1., -1., -1., -1.]])
 >>> y = nx.zeros(a.shape, float)
 >>> U.fix(a, y)
 array([[ 1.,  1.,  1.,  1.],
-       [ 0., -1., -1., -1.]])
+       [-1., -1., -1., -1.]])
 >>> y
 array([[ 1.,  1.,  1.,  1.],
-       [ 0., -1., -1., -1.]])
+       [-1., -1., -1., -1.]])
 
 Test isposinf, isneginf, sign
 >>> a = nx.array([nx.Inf, -nx.Inf, nx.NaN, 0.0, 3.0, -3.0])




More information about the Numpy-svn mailing list