Message218612
| Author |
vstinner |
| Recipients |
ezio.melotti, kennyluck, loewis, python-dev, serhiy.storchaka, vstinner |
| Date |
2014年05月15日.13:47:06 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1400161626.96.0.88488176702.issue13916@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Windows buildbots are unhappy.
http://buildbot.python.org/all/builders/x86%20Windows7%203.x/builds/8355/steps/test/logs/stdio
======================================================================
ERROR: test_surrogatepass_handler (test.test_codecs.CP65001Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\cygwin\home\db3l\buildarea3円.x.bolen-windows7\build\lib\test\test_codecs.py", line 883, in test_surrogatepass_handler
self.assertEqual("abc\ud800def".encode("cp65001", "surrogatepass"),
UnicodeEncodeError: 'CP_UTF8' codec can't encode character '\ud800' in position 3: invalid character
======================================================================
FAIL: test_encode (test.test_codecs.CP65001Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\cygwin\home\db3l\buildarea3円.x.bolen-windows7\build\lib\test\test_codecs.py", line 818, in test_encode
encoded = text.encode('cp65001', errors)
UnicodeEncodeError: 'CP_UTF8' codec can't encode character '\udc80' in position 0: invalid character
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\cygwin\home\db3l\buildarea3円.x.bolen-windows7\build\lib\test\test_codecs.py", line 821, in test_encode
'errors=%r: %s' % (text, errors, err))
AssertionError: Unable to encode '\udc80' to cp65001 with errors='surrogatepass': 'CP_UTF8' codec can't encode character '\udc80' in position 0: invalid character
======================================================================
FAIL: test_cp1252 (test.test_codecs.CodePageTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\cygwin\home\db3l\buildarea3円.x.bolen-windows7\build\lib\test\test_codecs.py", line 2849, in test_cp1252
(b'[\x98]', 'surrogatepass', None),
File "D:\cygwin\home\db3l\buildarea3円.x.bolen-windows7\build\lib\test\test_codecs.py", line 2781, in check_decode
codecs.code_page_decode, cp, raw, errors, True)
AssertionError: UnicodeDecodeError not raised by code_page_decode |
|