[pypy-commit] pypy win32-fixes4: cpython compatibility: did this test ever pass with -A ?
mattip
noreply at buildbot.pypy.org
Sat Mar 22 23:10:37 CET 2014
Author: Matti Picus <matti.picus at gmail.com>
Branch: win32-fixes4
Changeset: r70180:0c785cb5b007
Date: 2014-03-23 00:08 +0200
http://bitbucket.org/pypy/pypy/changeset/0c785cb5b007/
Log: cpython compatibility: did this test ever pass with -A ?
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
@@ -695,7 +695,7 @@
if sys.platform != 'win32':
return
assert u'test'.encode('mbcs') == 'test'
- assert u'caf\xe9'.encode('mbcs') == 'caf\xe9'
+ assert u'caf\xe9'.encode('mbcs') == '?'
assert u'\u040a'.encode('mbcs') == '?' # some cyrillic letter
assert 'cafx\e9'.decode('mbcs') == u'cafx\e9'
More information about the pypy-commit
mailing list