From 1ea236076f6d03896a3fb72d706264648e51d959 Mon Sep 17 00:00:00 2001 From: David Cournapeau Date: Mon, 25 Aug 2008 22:06:00 +0000 Subject: Fix fix tests. --- numpy/lib/tests/test_ufunclike.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'numpy/lib') diff --git a/numpy/lib/tests/test_ufunclike.py b/numpy/lib/tests/test_ufunclike.py index bd941adad..63e6a75de 100644 --- a/numpy/lib/tests/test_ufunclike.py +++ b/numpy/lib/tests/test_ufunclike.py @@ -6,14 +6,14 @@ Test fix: >>> 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]) -- cgit v1.2.1