diff options
author | David Cournapeau <cournape@gmail.com> | 2008-08-25 22:06:00 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-08-25 22:06:00 +0000 |
commit | 1ea236076f6d03896a3fb72d706264648e51d959 (patch) | |
tree | 378024d898f66e2900d6f295c48ff5cccaebb9cc | |
parent | b2d4064b4dc4373d8a94d7b1b87eab3f75f430f3 (diff) | |
download | numpy-1ea236076f6d03896a3fb72d706264648e51d959.tar.gz |
Fix fix tests.
-rw-r--r-- | numpy/lib/tests/test_ufunclike.py | 6 |
1 files changed, 3 insertions, 3 deletions
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]) |