Author: Manuel Jacob
Branch: refactor-buffer-api
Changeset: r68262:6a1045ec1635
Date: 2013-11-20 22:31 +0100
http://bitbucket.org/pypy/pypy/changeset/6a1045ec1635/

Log:    This seems to fix the test_ztranslation errors.

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
@@ -290,6 +290,11 @@
         ec._py_repr = None
         return ec
 
+    def buffer_w(self, w_obj):
+        from pypy.interpreter.buffer import Buffer
+        is_root(w_obj)
+        return Buffer()
+
     # ----------
 
     def translates(self, func=None, argtypes=None, seeobj_w=[], **kwds):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to