1. Pypy
  2. Untitled project
  3. pypy

Commits

Brian Kearns  committed 6138264

fix test_ztranslations

  • Participants
  • Parent commits 48ee80c
  • Branches refactor-buffer-api

Comments (0)

Files changed (1)

File pypy/objspace/fake/objspace.py

View file
     def setclass(self, space, w_subtype):
         is_root(w_subtype)
 
+    def buffer_w(self, space, flags):
+        return Buffer()
+
     def str_w(self, space):
         return NonConstant("foobar")
 
         ec._py_repr = None
         return ec
 
-    def readbuf_w(self, w_obj):
-        is_root(w_obj)
-        return Buffer()
-
-    def writebuf_w(self, w_obj):
-        is_root(w_obj)
-        return Buffer()
-
     def unicode_from_object(self, w_obj):
         return w_some_obj()