1. Pypy
  2. Untitled project
  3. pypy

Commits

Manuel Jacob  committed 6a1045e

This seems to fix the test_ztranslation errors.

  • Participants
  • Parent commits 456bc41
  • Branches refactor-buffer-api

Comments (0)

Files changed (1)

File pypy/objspace/fake/objspace.py

View file
  • Ignore whitespace
         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):