Searched refs:TESTFN_ENCODING (Results 1 – 11 of 11) sorted by relevance
9 from test.test_support import TESTFN_ENCODING, TESTFN_UNENCODABLE11 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)
262 fsencoding = test_support.TESTFN_ENCODING or "ascii"
46 unicode_filename.encode(test_support.TESTFN_ENCODING)
598 fn.encode(test_support.TESTFN_ENCODING)
21 from test.test_support import TESTFN, TESTFN_UNICODE, TESTFN_ENCODING, \25 TESTFN_UNICODE.encode(TESTFN_ENCODING)
32 support.TESTFN_UNICODE.encode(support.TESTFN_ENCODING)
9 TESTFN_ENCODING, TESTFN_UNICODE, TESTFN_UNENCODABLE, create_empty_file)13 TESTFN_UNICODE.encode(TESTFN_ENCODING)
38 support.TESTFN_UNICODE.encode(support.TESTFN_ENCODING)
791 TESTFN_ENCODING = sys.getfilesystemencoding() variable804 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)
685 TESTFN_ENCODING = sys.getfilesystemencoding() variable
266 .. data:: TESTFN_ENCODING