Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r55240:358b323e52c0
Date: 2012-05-31 16:43 +0200
http://bitbucket.org/pypy/pypy/changeset/358b323e52c0/

Log:    isinstance(x, str) is not rpython, so it's nonsense to have it in
        the fake objspace. This fixes module/posix/test/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
@@ -170,7 +170,6 @@
         raise NotImplementedError
 
     def wrapbytes(self, x):
-        assert isinstance(x, str)
         return w_some_obj()
 
     def _see_interp2app(self, interp2app):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to