Commits

Hakan Ardo  committed b449ace

fix tests

  • Participants
  • Parent commits 7d76cfa
  • Branches jit-targets

Comments (0)

Files changed (1)

File pypy/jit/metainterp/test/test_ajit.py

             return sa
         res = self.meta_interp(f, [32])
         assert res == f(32)
-        self.check_jitcell_token_count(3)
+        self.check_trace_count(2)
 
     def test_two_loopinvariant_arrays2(self):
         from pypy.rpython.lltypesystem import lltype, llmemory, rffi
             return sa
         res = self.meta_interp(f, [32])
         assert res == f(32)
-        self.check_jitcell_token_count(3)
+        self.check_trace_count(2)
 
     def test_two_loopinvariant_arrays3(self):
         from pypy.rpython.lltypesystem import lltype, llmemory, rffi
             return sa
         res = self.meta_interp(f, [32])
         assert res == f(32)
-        self.check_jitcell_token_count(2)
+        self.check_trace_count(3)
 
     def test_two_loopinvariant_arrays_boxed(self):
         class A(object):