From: Victor Stinner Date: Tue, 4 Dec 2012 10:55:04 +0000 (+0100) Subject: Issue #16444: test more bytes in support.TESTFN_UNDECODABLE to support more Windows... X-Git-Tag: v3.4.0a1~1904 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fe907e18709e150c902afa08823b65ab4254614a;p=thirdparty%2FPython%2Fcpython.git Issue #16444: test more bytes in support.TESTFN_UNDECODABLE to support more Windows code pages --- diff --git a/Lib/test/support.py b/Lib/test/support.py index 9c01cae33323..4d639040f56b 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -717,6 +717,9 @@ for name in ( 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)