Author: mattip <[email protected]>
Branch: nupypy-axis-arg-check
Changeset: r55697:d0663a09c8d2
Date: 2012-06-16 20:53 +0300
http://bitbucket.org/pypy/pypy/changeset/d0663a09c8d2/

Log:    add 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
@@ -638,6 +638,7 @@
         assert count_reduce_items(a, 1) == 3
         assert count_reduce_items(a, (1, 2)) == 3 * 4
         raises(ValueError, count_reduce_items, a, -3)
+        raises(ValueError, count_reduce_items, a, (0, 2, -4))
 
     def test_true_divide(self):
         from _numpypy import arange, array, true_divide
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to