cpython: ed0ff4b3d1c4 (original) (raw)

Mercurial > cpython

changeset 80724:ed0ff4b3d1c4

Issue #16444: test more bytes in support.TESTFN_UNDECODABLE to support more Windows code pages [#16444]

Victor Stinner victor.stinner@gmail.com
date Tue, 04 Dec 2012 11:55:04 +0100
parents 4006c4ca0c1f
children 7caab48f171e
files Lib/test/support.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-)[+] [-] Lib/test/support.py 3

line wrap: on

line diff

--- 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',

): try: name.decode(TESTFN_ENCODING)