Author: Armin Rigo <[email protected]>
Branch:
Changeset: r80000:b853ee35818e
Date: 2015-10-06 08:41 +0200
http://bitbucket.org/pypy/pypy/changeset/b853ee35818e/
Log: Run the tests in sorted order, and print which size each one is
testing
diff --git a/pypy/module/pypyjit/test_pypy_c/test_alloc.py
b/pypy/module/pypyjit/test_pypy_c/test_alloc.py
--- a/pypy/module/pypyjit/test_pypy_c/test_alloc.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_alloc.py
@@ -7,10 +7,11 @@
[2 ** n - 1 for n in range(26)])
def test_newstr_constant_size(self):
- for size in TestAlloc.SIZES:
+ for size in sorted(TestAlloc.SIZES):
yield self.newstr_constant_size, size
def newstr_constant_size(self, size):
+ print 'size =', size
src = """if 1:
N = %(size)d
part_a = 'a' * N
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit