Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r63598:a052d8710c2d
Date: 2013-04-24 10:49 -0700
http://bitbucket.org/pypy/pypy/changeset/a052d8710c2d/
Log: fix the decode test
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
@@ -669,4 +669,4 @@
assert 'test'.encode('mbcs') == b'test'
assert 'caf\xe9'.encode('mbcs') == b'caf\xe9'
assert '\u040a'.encode('mbcs') == b'?' # some cyrillic letter
- assert 'cafx\e9'.decode('mbcs') == b'cafx\e9'
+ assert b'cafx\e9'.decode('mbcs') == 'cafx\e9'
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit