From fe907e18709e150c902afa08823b65ab4254614a Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 4 Dec 2012 11:55:04 +0100 Subject: [PATCH] Issue #16444: test more bytes in support.TESTFN_UNDECODABLE to support more Windows code pages --- Lib/test/support.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/support.py b/Lib/test/support.py index 9c01cae3332..4d639040f56 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)