Author: Manuel Jacob <m...@manueljacob.de> Branch: py3.5 Changeset: r90497:5f9ea0599935 Date: 2017-03-02 21:38 +0100 http://bitbucket.org/pypy/pypy/changeset/5f9ea0599935/
Log: Fix. 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,7 +35,7 @@ w_uni = space.wrap(u'abcd') assert space.text_w(w_uni) == 'abcd' w_uni = space.wrap(unichr(0xd921) + unichr(0xdddd)) - raises(UnicodeEncodeError, space.text_w, w_uni) + space.raises_w(space.w_UnicodeEncodeError, space.text_w, w_uni) class AppTestUnicodeStringStdOnly: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit