[pypy-commit] pypy default: A failing test.
arigo
noreply at buildbot.pypy.org
Thu May 12 16:39:14 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r44106:3d4c805a874e
Date: 2011-05-12 16:42 +0200
http://bitbucket.org/pypy/pypy/changeset/3d4c805a874e/
Log: A failing test.
diff --git a/pypy/module/_multibytecodec/test/test_c_codecs.py b/pypy/module/_multibytecodec/test/test_c_codecs.py
--- a/pypy/module/_multibytecodec/test/test_c_codecs.py
+++ b/pypy/module/_multibytecodec/test/test_c_codecs.py
@@ -50,3 +50,8 @@
assert e.start == 3
assert e.end == 4
assert e.reason == "illegal multibyte sequence"
+
+def test_encode_jisx0208():
+ c = getcodec('iso2022_jp')
+ s = encode(c, u'\u83ca\u5730\u6642\u592b')
+ assert s == '\x1b$B5FCO;~IW\x1b(B' and type(s) is str
More information about the pypy-commit
mailing list