[pypy-commit] pypy jit-targets: fix test

hakanardo noreply at buildbot.pypy.org
Sun Dec 4 20:10:04 CET 2011


Author: Hakan Ardo <hakan at debian.org>
Branch: jit-targets
Changeset: r50142:79fb16cde001
Date: 2011-12-04 20:09 +0100
http://bitbucket.org/pypy/pypy/changeset/79fb16cde001/

Log:	fix test

diff --git a/pypy/module/micronumpy/test/test_zjit.py b/pypy/module/micronumpy/test/test_zjit.py
--- a/pypy/module/micronumpy/test/test_zjit.py
+++ b/pypy/module/micronumpy/test/test_zjit.py
@@ -325,7 +325,7 @@
     def test_setslice(self):
         result = self.run("setslice")
         assert result == 11.0
-        self.check_loop_count(1)
+        self.check_trace_count(1)
         self.check_simple_loop({'getinteriorfield_raw': 2, 'float_add' : 1,
                                 'setinteriorfield_raw': 1, 'int_add': 3,
                                 'int_eq': 1, 'guard_false': 1, 'jump': 1})


More information about the pypy-commit mailing list