summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2008-07-20 23:34:11 +0000
committerCharles Harris <charlesr.harris@gmail.com>2008-07-20 23:34:11 +0000
commit2ba50c217e3cae6b5470a28601a27ba1cbb0ab84 (patch)
treea13fabf963b339064c29710b9d1f5f811cf465da /numpy
parentd045a20c3232ffc0550d3f62a46bcd05f7b9761b (diff)
downloadnumpy-2ba50c217e3cae6b5470a28601a27ba1cbb0ab84.tar.gz
Make regression test work for reverted NaN fix.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_regression.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/tests/test_regression.py b/numpy/core/tests/test_regression.py
index 6abb28c3e..2dc56a3c4 100644
--- a/numpy/core/tests/test_regression.py
+++ b/numpy/core/tests/test_regression.py
@@ -1167,7 +1167,7 @@ class TestRegression(TestCase):
"""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)