Author: Armin Rigo <[email protected]>
Branch: unicode-utf8
Changeset: r92744:29bfc6b969b9
Date: 2017-10-13 15:09 +0200
http://bitbucket.org/pypy/pypy/changeset/29bfc6b969b9/

Log:    Fix for module/_codecs/test/test_ztranslation

diff --git a/pypy/interpreter/unicodehelper.py 
b/pypy/interpreter/unicodehelper.py
--- a/pypy/interpreter/unicodehelper.py
+++ b/pypy/interpreter/unicodehelper.py
@@ -32,6 +32,7 @@
 
 def convert_arg_to_w_unicode(space, w_arg, strict=None):
     from pypy.objspace.std.unicodeobject import W_UnicodeObject
+    assert not hasattr(space, 'is_fake_objspace')
     return W_UnicodeObject.convert_arg_to_w_unicode(space, w_arg, strict)
 
 # ____________________________________________________________
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to