Author: Alex Gaynor <[email protected]>
Branch: 
Changeset: r49897:3869e30bbf49
Date: 2011-11-28 08:18 -0500
http://bitbucket.org/pypy/pypy/changeset/3869e30bbf49/

Log:    a failing test for integer pow

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
@@ -464,9 +464,11 @@
         a = array(range(5), float)
         b = a ** a
         for i in range(5):
-            print b[i], i ** i
             assert b[i] == i ** i
 
+        a = array(range(5))
+        assert (a ** 2 == a * a).all()
+
     def test_pow_other(self):
         from numpypy import array
         a = array(range(5), float)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to