[pypy-svn] pypy default: Fix 7 of the 8 failures of test_pypy_c just by not printing the args, which

arigo commits-noreply at bitbucket.org
Wed Feb 16 14:37:19 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r42035:ae7f5eddf443
Date: 2011-02-16 14:37 +0100
http://bitbucket.org/pypy/pypy/changeset/ae7f5eddf443/

Log:	Fix 7 of the 8 failures of test_pypy_c just by not printing the
	args, which ends up in the jit compiling the loop of listrepr()...

diff --git a/pypy/module/pypyjit/test/test_pypy_c.py b/pypy/module/pypyjit/test/test_pypy_c.py
--- a/pypy/module/pypyjit/test/test_pypy_c.py
+++ b/pypy/module/pypyjit/test/test_pypy_c.py
@@ -105,9 +105,9 @@
                 pass
 
             def check(args, expected):
-                print >> sys.stderr, 'trying:', args
+                #print >> sys.stderr, 'trying:', args
                 result = main(*args)
-                print >> sys.stderr, 'got:', repr(result)
+                #print >> sys.stderr, 'got:', repr(result)
                 assert result == expected
                 assert type(result) is type(expected)
         """ % threshold)


More information about the Pypy-commit mailing list