[pypy-commit] pypy jit-improve-nested-loops: fix test

hakanardo noreply at buildbot.pypy.org
Mon Dec 26 16:57:30 CET 2011


Author: Hakan Ardo <hakan at debian.org>
Branch: jit-improve-nested-loops
Changeset: r50877:be85523c5872
Date: 2011-12-26 14:11 +0100
http://bitbucket.org/pypy/pypy/changeset/be85523c5872/

Log:	fix test

diff --git a/pypy/jit/metainterp/test/test_loop.py b/pypy/jit/metainterp/test/test_loop.py
--- a/pypy/jit/metainterp/test/test_loop.py
+++ b/pypy/jit/metainterp/test/test_loop.py
@@ -756,7 +756,7 @@
         res = self.meta_interp(interpret, [1])
         assert res == interpret(1)
         # XXX it's unsure how many loops should be there
-        self.check_trace_count(3)
+        self.check_trace_count(2)
 
     def test_path_with_operations_not_from_start(self):
         jitdriver = JitDriver(greens = ['k'], reds = ['n', 'z'])


More information about the pypy-commit mailing list