[pypy-commit] pypy numpy-back-to-applevel: fix one more test

fijal noreply at buildbot.pypy.org
Sat Jan 21 18:51:47 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: numpy-back-to-applevel
Changeset: r51600:92d15f3d3e45
Date: 2012-01-21 19:51 +0200
http://bitbucket.org/pypy/pypy/changeset/92d15f3d3e45/

Log:	fix one more test

diff --git a/pypy/module/micronumpy/test/test_ufuncs.py b/pypy/module/micronumpy/test/test_ufuncs.py
--- a/pypy/module/micronumpy/test/test_ufuncs.py
+++ b/pypy/module/micronumpy/test/test_ufuncs.py
@@ -344,7 +344,7 @@
         from _numpypy import sin, add
 
         raises(ValueError, sin.reduce, [1, 2, 3])
-        raises(TypeError, add.reduce, 1)
+        raises((ValueError, TypeError), add.reduce, 1)
 
     def test_reduce_1d(self):
         from _numpypy import add, maximum


More information about the pypy-commit mailing list