mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Whitespace normalization.
This commit is contained in:
parent
0822ff7cca
commit
0eadaac7dc
39 changed files with 127 additions and 144 deletions
|
|
@ -6,7 +6,7 @@ import os, glob
|
|||
from test.test_support import verify, TestSkipped, TESTFN_UNICODE
|
||||
from test.test_support import TESTFN_ENCODING
|
||||
try:
|
||||
TESTFN_ENCODED = TESTFN_UNICODE.encode(TESTFN_ENCODING)
|
||||
TESTFN_ENCODED = TESTFN_UNICODE.encode(TESTFN_ENCODING)
|
||||
except (UnicodeError, TypeError):
|
||||
# Either the file system encoding is None, or the file name
|
||||
# cannot be encoded in the file system encoding.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue