Author: Matti Picus <[email protected]>
Branch: 
Changeset: r54259:aaa93c295404
Date: 2012-04-08 20:06 +0300
http://bitbucket.org/pypy/pypy/changeset/aaa93c295404/

Log:    fix test for 32 bit platforms

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
@@ -592,9 +592,8 @@
 
     def test_shift(self):
         from _numpypy import left_shift, right_shift
-        import sys
 
-        assert (left_shift([5, 1], [2, 31]) == [20, 2**31]).all()
+        assert (left_shift([5, 1], [2, 13]) == [20, 2**13]).all()
         assert (right_shift(10, range(5)) == [10, 5, 2, 1, 0]).all()
 
     def test_comparisons(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to