Sitelet https://github.com/python/cpython/commit/fe907e18709e150c902afa08823b65ab4254614a
Skip to content

Commit fe907e1

Browse files
committed
Issue #16444: test more bytes in support.TESTFN_UNDECODABLE to support more Windows code pages
1 parent de67a42 commit fe907e1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎Lib/test/support.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,9 @@ def _is_ipv6_enabled():
717717
b'\xae\xd5'
718718
# undecodable from UTF-8 (UNIX and Mac OS X)
719719
b'\xed\xb2\x80', b'\xed\xb4\x80',
720+
# undecodable from shift_jis, cp869, cp874, cp932, cp1250, cp1251, cp1252,
721+
# cp1253, cp1254, cp1255, cp1257, cp1258
722+
b'\x81\x98',
720723
):
721724
try:
722725
name.decode(TESTFN_ENCODING)

0 commit comments

Comments
 (0)