[pypy-commit] pypy refactor-buffer-api: fix _io test_ztranslation

bdkearns noreply at buildbot.pypy.org
Tue Apr 22 23:37:41 CEST 2014


Author: Brian Kearns <bdkearns at gmail.com>
Branch: refactor-buffer-api
Changeset: r70875:6c4fb10688bd
Date: 2014-04-22 17:36 -0400
http://bitbucket.org/pypy/pypy/changeset/6c4fb10688bd/

Log:	fix _io test_ztranslation

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
@@ -346,7 +346,7 @@
                      ObjSpace.ExceptionTable +
                      ['int', 'str', 'float', 'long', 'tuple', 'list',
                       'dict', 'unicode', 'complex', 'slice', 'bool',
-                      'basestring', 'object', 'bytearray']):
+                      'basestring', 'object', 'bytearray', 'buffer']):
             setattr(space, 'w_' + name, w_some_obj())
         space.w_type = w_some_type()
         #


More information about the pypy-commit mailing list