(original) (raw)

changeset: 80724:ed0ff4b3d1c4 user: Victor Stinner victor.stinner@gmail.com date: Tue Dec 04 11:55:04 2012 +0100 files: Lib/test/support.py description: Issue #16444: test more bytes in support.TESTFN_UNDECODABLE to support more Windows code pages diff -r 4006c4ca0c1f -r ed0ff4b3d1c4 Lib/test/support.py --- a/Lib/test/support.py Tue Dec 04 21:10:55 2012 +0200 +++ b/Lib/test/support.py Tue Dec 04 11:55:04 2012 +0100 @@ -717,6 +717,9 @@ b'\xae\xd5' # undecodable from UTF-8 (UNIX and Mac OS X) b'\xed\xb2\x80', b'\xed\xb4\x80', + # undecodable from shift_jis, cp869, cp874, cp932, cp1250, cp1251, cp1252, + # cp1253, cp1254, cp1255, cp1257, cp1258 + b'\x81\x98', ): try: name.decode(TESTFN_ENCODING) /victor.stinner@gmail.com