diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-08-13 13:47:18 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-08-13 13:47:18 (GMT) |
commit | b4b8eb916372dcb566740455122a28b5ed9631f9 (patch) | |
tree | 902b08bb7c5268e31454e7f0319e5305abe84322 /Lib/test/support.py | |
parent | 11fd4e962dae5c9695392ffa02e50eea35eec270 (diff) | |
download | cpython-b4b8eb916372dcb566740455122a28b5ed9631f9.zip cpython-b4b8eb916372dcb566740455122a28b5ed9631f9.tar.gz cpython-b4b8eb916372dcb566740455122a28b5ed9631f9.tar.bz2 |
Oops, I did it again: add missing \ removed in previous commit
Diffstat (limited to 'Lib/test/support.py')
-rw-r--r-- | Lib/test/support.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py index 54e0599..9bb4f36 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -408,7 +408,7 @@ else: b'\xff'.decode(TESTFN_ENCODING) except UnicodeDecodeError: # 0xff will be encoded using the surrogate character u+DCFF - TESTFN_UNENCODEABLE = TESTFN + TESTFN_UNENCODEABLE = TESTFN \ + b'-\xff'.decode(TESTFN_ENCODING, 'surrogateescape') else: # File system encoding (eg. ISO-8859-* encodings) can encode |