Home
last modified time | relevance | path

Searched refs:TESTFN_ENCODING (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_unicode_file.py9 from test.test_support import TESTFN_ENCODING, TESTFN_UNENCODABLE
11 TESTFN_ENCODED = TESTFN_UNICODE.encode(TESTFN_ENCODING)
17 if TESTFN_ENCODED.decode(TESTFN_ENCODING) != TESTFN_UNICODE:
24 TESTFN_ENCODED = TESTFN_UNICODE.encode(TESTFN_ENCODING)
31 if TESTFN_ENCODED.decode(TESTFN_ENCODING) != TESTFN_UNICODE:
62 base = base.decode(TESTFN_ENCODING)
67 file_list = [f.decode(TESTFN_ENCODING) for f in file_list]
126 cwd_result = os.getcwd().decode(TESTFN_ENCODING)
127 name_result = make_name.decode(TESTFN_ENCODING)
Dtest_genericpath.py262 fsencoding = test_support.TESTFN_ENCODING or "ascii"
Dtest_gzip.py46 unicode_filename.encode(test_support.TESTFN_ENCODING)
Dtest_posix.py598 fn.encode(test_support.TESTFN_ENCODING)
Dtest_zipfile.py21 from test.test_support import TESTFN, TESTFN_UNICODE, TESTFN_ENCODING, \
25 TESTFN_UNICODE.encode(TESTFN_ENCODING)
Dtest_sax.py32 support.TESTFN_UNICODE.encode(support.TESTFN_ENCODING)
/external/python/cpython3/Lib/test/
Dtest_unicode_file.py9 TESTFN_ENCODING, TESTFN_UNICODE, TESTFN_UNENCODABLE, create_empty_file)
13 TESTFN_UNICODE.encode(TESTFN_ENCODING)
Dtest_sax.py38 support.TESTFN_UNICODE.encode(support.TESTFN_ENCODING)
/external/python/cpython3/Lib/test/support/
D__init__.py791 TESTFN_ENCODING = sys.getfilesystemencoding() variable
804 TESTFN_UNENCODABLE.encode(TESTFN_ENCODING)
810 % (TESTFN_UNENCODABLE, TESTFN_ENCODING))
816 b'\xff'.decode(TESTFN_ENCODING)
820 + b'-\xff'.decode(TESTFN_ENCODING, 'surrogateescape')
851 name.decode(TESTFN_ENCODING)
/external/python/cpython2/Lib/test/support/
D__init__.py685 TESTFN_ENCODING = sys.getfilesystemencoding() variable
/external/python/cpython3/Doc/library/
Dtest.rst266 .. data:: TESTFN_ENCODING