[pypy-commit] pypy py3.5: Fix ztranslations

rlamy pypy.commits at gmail.com
Mon Oct 31 13:01:15 EDT 2016


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.5
Changeset: r88006:dfa86315b296
Date: 2016-10-31 17:00 +0000
http://bitbucket.org/pypy/pypy/changeset/dfa86315b296/

Log:	Fix ztranslations

diff --git a/pypy/objspace/fake/objspace.py b/pypy/objspace/fake/objspace.py
--- a/pypy/objspace/fake/objspace.py
+++ b/pypy/objspace/fake/objspace.py
@@ -291,6 +291,9 @@
     def type(self, w_obj):
         return w_some_type()
 
+    def lookup_in_type_where(self, w_type, key):
+        return w_some_obj(), w_some_obj()
+
     def issubtype_w(self, w_sub, w_type):
         is_root(w_sub)
         is_root(w_type)


More information about the pypy-commit mailing list