Author: Alex Gaynor <alex.gay...@gmail.com> Branch: kill-faking Changeset: r59242:a7d77b6a4091 Date: 2012-12-02 14:05 -0800 http://bitbucket.org/pypy/pypy/changeset/a7d77b6a4091/
Log: fixed _codecs tests diff --git a/pypy/module/_codecs/test/test_codecs.py b/pypy/module/_codecs/test/test_codecs.py --- a/pypy/module/_codecs/test/test_codecs.py +++ b/pypy/module/_codecs/test/test_codecs.py @@ -2,7 +2,9 @@ class AppTestCodecs: - spaceconfig = dict(usemodules=('unicodedata', 'struct')) + spaceconfig = { + "usemodules": ['unicodedata', 'struct', 'binascii'], + } def test_register_noncallable(self): import _codecs @@ -19,7 +21,7 @@ def test_ucs4(self): x = u'\U00100000' y = x.encode("raw-unicode-escape").decode("raw-unicode-escape") - assert x == y + assert x == y def test_named_unicode(self): assert unicode('\\N{SPACE}','unicode-escape') == u" " _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit