Author: Matti Picus <[email protected]>
Branch: missing-ndarray-attributes
Changeset: r60850:1c94dc8e7e8d
Date: 2013-02-03 23:12 +0200
http://bitbucket.org/pypy/pypy/changeset/1c94dc8e7e8d/

Log:    cannot stop in pdb on failing assert, print instead

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
@@ -2378,7 +2378,8 @@
             a = array([6, 4, -1, 3, 8, 3, 256+20, 100, 101], dtype=dtype)
             c = a.copy()
             res = a.argsort()
-            assert (res == [2, 3, 5, 1, 0, 4, 7, 8, 6]).all()
+            assert (res == [2, 3, 5, 1, 0, 4, 7, 8, 6]).all(), \
+                'a,res,dtype %r,%r,%r' % (a,res,dtype)
             assert (a == c).all() # not modified
             a = arange(100)
             assert (a.argsort() == a).all()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to