diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2008-07-20 23:34:11 +0000 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2008-07-20 23:34:11 +0000 |
commit | 2ba50c217e3cae6b5470a28601a27ba1cbb0ab84 (patch) | |
tree | a13fabf963b339064c29710b9d1f5f811cf465da /numpy | |
parent | d045a20c3232ffc0550d3f62a46bcd05f7b9761b (diff) | |
download | numpy-2ba50c217e3cae6b5470a28601a27ba1cbb0ab84.tar.gz |
Make regression test work for reverted NaN fix.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/tests/test_regression.py | 2 |
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) |