[pypy-svn] r66727 - pypy/trunk/pypy/objspace/std/test

arigo at codespeak.net arigo at codespeak.net
Sun Aug 2 13:05:25 CEST 2009


Author: arigo
Date: Sun Aug  2 13:05:23 2009
New Revision: 66727

Modified:
   pypy/trunk/pypy/objspace/std/test/test_shadowtracking.py
Log:
Improve reporting of the error, in an attempt to figure out what
the rare problem is.


Modified: pypy/trunk/pypy/objspace/std/test/test_shadowtracking.py
==============================================================================
--- pypy/trunk/pypy/objspace/std/test/test_shadowtracking.py	(original)
+++ pypy/trunk/pypy/objspace/std/test/test_shadowtracking.py	Sun Aug  2 13:05:23 2009
@@ -210,7 +210,7 @@
                           for name in names]
         assert append_counter[0] >= 5 * len(names)
         for name, count in zip(names, names_counters):
-            assert count[0] >= 5
+            assert count[0] >= 5, str((name, count))
 
     def test_mutating_bases(self):
         class C(object):



More information about the Pypy-commit mailing list