Author: Mike Blume <[email protected]>
Branch: 
Changeset: r53360:c07d96f608f3
Date: 2012-03-12 14:43 -0700
http://bitbucket.org/pypy/pypy/changeset/c07d96f608f3/

Log:    make this test less boring

diff --git a/pypy/module/micronumpy/test/test_numarray.py 
b/pypy/module/micronumpy/test/test_numarray.py
--- a/pypy/module/micronumpy/test/test_numarray.py
+++ b/pypy/module/micronumpy/test/test_numarray.py
@@ -672,8 +672,8 @@
     def test_floordiv_constant(self):
         from _numpypy import array
         a = array(range(5))
-        b = a // 5
-        assert (b == [0, 0, 0, 0, 0]).all()
+        b = a // 2
+        assert (b == [0, 0, 1, 1, 2]).all()
 
     def test_truediv(self):
         from operator import truediv
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to