[pypy-svn] r52070 - pypy/branch/jit-refactoring/pypy/jit/rainbow/test

cfbolz at codespeak.net cfbolz at codespeak.net
Sun Mar 2 20:34:27 CET 2008


Author: cfbolz
Date: Sun Mar  2 20:34:26 2008
New Revision: 52070

Modified:
   pypy/branch/jit-refactoring/pypy/jit/rainbow/test/test_virtualizable.py
Log:
fix test


Modified: pypy/branch/jit-refactoring/pypy/jit/rainbow/test/test_virtualizable.py
==============================================================================
--- pypy/branch/jit-refactoring/pypy/jit/rainbow/test/test_virtualizable.py	(original)
+++ pypy/branch/jit-refactoring/pypy/jit/rainbow/test/test_virtualizable.py	Sun Mar  2 20:34:26 2008
@@ -825,7 +825,6 @@
         self.check_insns(getfield=0)
 
     def test_simple_interpreter_with_frame(self):
-        py.test.skip("strange problem")
         class Log:
             acc = 0
         log = Log()
@@ -872,8 +871,8 @@
         assert res == 42
         if self.on_llgraph:
             calls = self.count_direct_calls()
-            call_count = sum([count for graph, count in calls.iteritems()
-                              if not graph.name.startswith('rpyexc_')])
+            call_count = sum(calls.values())
+            # one call to "continue_compilation" and one call to debug
             assert call_count == 2
 
 


More information about the pypy-svn mailing list