]> granicus.if.org Git - python/commitdiff
Issue #16444: test more bytes in support.TESTFN_UNDECODABLE to support more Windows...
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 4 Dec 2012 10:55:04 +0000 (11:55 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 4 Dec 2012 10:55:04 +0000 (11:55 +0100)
Lib/test/support.py

index 9c01cae3332322e8c5a839830571e3c82a1b08e3..4d639040f56b914cd35aad6d688cf5b4f71a90c8 100644 (file)
@@ -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)