Author: Simon Cross <[email protected]>
Branch: inline-simple-generators
Changeset: r45949:1c03240c7ac2
Date: 2011-07-24 20:18 +0200
http://bitbucket.org/pypy/pypy/changeset/1c03240c7ac2/
Log: (antocuni, hodgestar) Rename unroll argument in test to make test
more understandable.
diff --git a/pypy/jit/metainterp/test/test_ajit.py
b/pypy/jit/metainterp/test/test_ajit.py
--- a/pypy/jit/metainterp/test/test_ajit.py
+++ b/pypy/jit/metainterp/test/test_ajit.py
@@ -509,8 +509,8 @@
self.check_history(call=1) # because the trace starts immediately
def test_unroll_one_loop_iteration(self):
- def unroll(x):
- return x == 0
+ def unroll(code):
+ return code == 0
myjitdriver = JitDriver(greens = ['code'],
reds = ['loops', 'inner_loops', 's'],
should_unroll_one_iteration=unroll)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit