[pypy-commit] pypy default: Fix test.

arigo noreply at buildbot.pypy.org
Sun Jun 5 13:43:28 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r44713:2fb97c8a68f1
Date: 2011-06-05 13:37 +0200
http://bitbucket.org/pypy/pypy/changeset/2fb97c8a68f1/

Log:	Fix test.

diff --git a/pypy/jit/metainterp/test/test_compile.py b/pypy/jit/metainterp/test/test_compile.py
--- a/pypy/jit/metainterp/test/test_compile.py
+++ b/pypy/jit/metainterp/test/test_compile.py
@@ -63,6 +63,8 @@
     call_pure_results = {}
     class jitdriver_sd:
         warmstate = FakeState()
+        on_compile = staticmethod(lambda *args: None)
+        on_compile_bridge = staticmethod(lambda *args: None)
 
 def test_compile_new_loop():
     cpu = FakeCPU()


More information about the pypy-commit mailing list