Author: Wim Lavrijsen <[email protected]>
Branch: reflex-support
Changeset: r46582:84a28b64f4b3
Date: 2011-08-17 15:22 -0700
http://bitbucket.org/pypy/pypy/changeset/84a28b64f4b3/
Log: add FakeUserDelAction for zjit test
diff --git a/pypy/module/cppyy/test/test_zjit.py
b/pypy/module/cppyy/test/test_zjit.py
--- a/pypy/module/cppyy/test/test_zjit.py
+++ b/pypy/module/cppyy/test/test_zjit.py
@@ -28,7 +28,15 @@
def getname(self, space, name):
return self.name
+class FakeUserDelAction(object):
+ def __init__(self, space):
+ pass
+ def register_callback(self, w_obj, callback, descrname):
+ pass
+
+ def perform(self, executioncontext, frame):
+ pass
class FakeSpace(object):
@@ -48,6 +56,7 @@
def __init__(self):
self.fromcache = InternalSpaceCache(self).getorbuild
+ self.user_del_action = FakeUserDelAction(self)
def issequence_w(self, w_obj):
return True
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit