Searched refs:TESTFN_UNICODE (Results 1 – 13 of 13) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_unicode_file.py | 8 from test.test_support import run_unittest, change_cwd, TESTFN_UNICODE 11 TESTFN_ENCODED = TESTFN_UNICODE.encode(TESTFN_ENCODING) 17 if TESTFN_ENCODED.decode(TESTFN_ENCODING) != TESTFN_UNICODE: 23 TESTFN_UNICODE = unicode("@test-\xe0\xf2", sys.getfilesystemencoding()) variable 24 TESTFN_ENCODED = TESTFN_UNICODE.encode(TESTFN_ENCODING) 31 if TESTFN_ENCODED.decode(TESTFN_ENCODING) != TESTFN_UNICODE: 169 self._test_single(TESTFN_UNICODE) 174 self._test_equivalent(TESTFN_ENCODED, TESTFN_UNICODE) 175 self._test_equivalent(TESTFN_UNICODE, TESTFN_ENCODED) 183 self._do_directory(TESTFN_ENCODED+ext, TESTFN_UNICODE+ext, True) [all …]
|
D | test_sax.py | 32 support.TESTFN_UNICODE.encode(support.TESTFN_ENCODING) 672 fname = support.TESTFN_UNICODE 826 fname = support.TESTFN_UNICODE 914 fname = support.TESTFN_UNICODE
|
D | test_zipfile.py | 21 from test.test_support import TESTFN, TESTFN_UNICODE, TESTFN_ENCODING, \ 25 TESTFN_UNICODE.encode(TESTFN_ENCODING) 29 TESTFN_UNICODE = None variable 485 @skipUnless(TESTFN_UNICODE, "No Unicode filesystem semantics on this platform.") 487 fnames = [u'foo.txt', os.path.basename(TESTFN_UNICODE)]
|
D | test_gzip.py | 44 unicode_filename = test_support.TESTFN_UNICODE
|
D | test_posix.py | 596 fn = test_support.TESTFN_UNICODE
|
/external/python/cpython3/Lib/test/ |
D | test_unicode_file.py | 9 TESTFN_ENCODING, TESTFN_UNICODE, TESTFN_UNENCODABLE, create_empty_file) 13 TESTFN_UNICODE.encode(TESTFN_ENCODING) 121 self._test_single(TESTFN_UNICODE) 130 self._do_directory(TESTFN_UNICODE+ext, TESTFN_UNICODE+ext)
|
D | test_fileio.py | 12 from test.support import (TESTFN, TESTFN_UNICODE, check_warnings, run_unittest, 447 fn = TESTFN_UNICODE.encode("utf-8") 449 self.skipTest('could not encode %r to utf-8' % TESTFN_UNICODE) 454 with open(TESTFN_UNICODE, "rb") as f: 457 os.unlink(TESTFN_UNICODE)
|
D | test_sax.py | 38 support.TESTFN_UNICODE.encode(support.TESTFN_ENCODING) 864 fname = support.TESTFN_UNICODE 1097 fname = support.TESTFN_UNICODE 1199 fname = support.TESTFN_UNICODE
|
D | test_os.py | 1885 add_filename(support.TESTFN_UNICODE)
|
D | test_socket.py | 5037 path = os.path.abspath(support.TESTFN_UNICODE)
|
/external/python/cpython3/Lib/test/support/ |
D | __init__.py | 871 TESTFN_UNICODE = TESTFN + "-\xe0\xf2\u0258\u0141\u011f" variable 877 TESTFN_UNICODE = unicodedata.normalize('NFD', TESTFN_UNICODE) variable
|
/external/python/cpython2/Lib/test/support/ |
D | __init__.py | 681 TESTFN_UNICODE = "@test-\xe0\xf2" variable 684 TESTFN_UNICODE = unicode("@test-\xe0\xf2", "latin-1") variable
|
/external/python/cpython3/Doc/library/ |
D | test.rst | 261 .. data:: TESTFN_UNICODE
|