Oops, I did it again: add missing \ removed in previous commit

This commit is contained in:
Victor Stinner 2010-08-13 13:47:18 +00:00
parent 11fd4e962d
commit b4b8eb9163
1 changed files with 1 additions and 1 deletions

View File

@ -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