Author: Manuel Jacob <m...@manueljacob.de> Branch: py3.5-text-utf8 Changeset: r90407:ae315621f4b7 Date: 2017-02-27 16:59 +0100 http://bitbucket.org/pypy/pypy/changeset/ae315621f4b7/
Log: Adapt test for changed behavior. diff --git a/pypy/objspace/std/test/test_unicodeobject.py b/pypy/objspace/std/test/test_unicodeobject.py --- a/pypy/objspace/std/test/test_unicodeobject.py +++ b/pypy/objspace/std/test/test_unicodeobject.py @@ -35,8 +35,7 @@ w_uni = space.wrap(u'abcd') assert space.text_w(w_uni) == 'abcd' w_uni = space.wrap(unichr(0xd921) + unichr(0xdddd)) - assert space.text_w(w_uni) == '\xed\xa4\xa1\xed\xb7\x9d' - # ^^^ and not the 4-bytes combined character + raises(UnicodeEncodeError, space.text_w, w_uni) class AppTestUnicodeStringStdOnly: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit