Author: Matti Picus <[email protected]>
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'
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit