diff options
Diffstat (limited to 'numpy/lib/tests')
-rw-r--r-- | numpy/lib/tests/test_ufunclike.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/tests/test_ufunclike.py b/numpy/lib/tests/test_ufunclike.py index 7c41ed1a3..889ee77e3 100644 --- a/numpy/lib/tests/test_ufunclike.py +++ b/numpy/lib/tests/test_ufunclike.py @@ -22,7 +22,7 @@ class TestUfunclike(object): assert_equal(out, tgt) a = a.astype(np.complex) - with assert_raises(ValueError): + with assert_raises(TypeError): ufl.isposinf(a) def test_isneginf(self): @@ -37,7 +37,7 @@ class TestUfunclike(object): assert_equal(out, tgt) a = a.astype(np.complex) - with assert_raises(ValueError): + with assert_raises(TypeError): ufl.isneginf(a) def test_fix(self): |