[pypy-svn] r68708 - pypy/trunk/pypy/jit/metainterp/test

fijal at codespeak.net fijal at codespeak.net
Thu Oct 22 12:17:27 CEST 2009


Author: fijal
Date: Thu Oct 22 12:17:26 2009
New Revision: 68708

Modified:
   pypy/trunk/pypy/jit/metainterp/test/test_optimizeopt.py
Log:
Oops, sorry, fix the test


Modified: pypy/trunk/pypy/jit/metainterp/test/test_optimizeopt.py
==============================================================================
--- pypy/trunk/pypy/jit/metainterp/test/test_optimizeopt.py	(original)
+++ pypy/trunk/pypy/jit/metainterp/test/test_optimizeopt.py	Thu Oct 22 12:17:26 2009
@@ -23,15 +23,17 @@
         self.pc = pc
         self.exception_target = exc_target
 
-class FakeOptions(object):
+class Fake(object):
     failargs_limit = 1000
+    storedebug = None
 
 class FakeMetaInterpStaticData(object):
 
     def __init__(self, cpu):
         self.cpu = cpu
         self.profiler = EmptyProfiler()
-        self.options = FakeOptions()
+        self.options = Fake()
+        self.globaldata = Fake()
     
 def test_store_final_boxes_in_guard():
     from pypy.jit.metainterp.compile import ResumeGuardDescr



More information about the Pypy-commit mailing list