Home
last modified time | relevance | path

Searched refs:TESTFN_UNICODE (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_unicode_file.py8 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 …]
Dtest_sax.py32 support.TESTFN_UNICODE.encode(support.TESTFN_ENCODING)
672 fname = support.TESTFN_UNICODE
826 fname = support.TESTFN_UNICODE
914 fname = support.TESTFN_UNICODE
Dtest_zipfile.py21 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)]
Dtest_gzip.py44 unicode_filename = test_support.TESTFN_UNICODE
Dtest_posix.py596 fn = test_support.TESTFN_UNICODE
/external/python/cpython3/Lib/test/
Dtest_unicode_file.py9 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)
Dtest_fileio.py12 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)
Dtest_sax.py38 support.TESTFN_UNICODE.encode(support.TESTFN_ENCODING)
903 fname = support.TESTFN_UNICODE
1139 fname = support.TESTFN_UNICODE
1241 fname = support.TESTFN_UNICODE
Dtest_trace.py3 from test.support import TESTFN, TESTFN_UNICODE, FS_NONASCII, rmtree, unlink, captured_stdout
Dtest_os.py2180 add_filename(support.TESTFN_UNICODE)
Dtest_socket.py5477 path = os.path.abspath(support.TESTFN_UNICODE)
/external/python/cpython2/Lib/test/support/
D__init__.py681 TESTFN_UNICODE = "@test-\xe0\xf2" variable
684 TESTFN_UNICODE = unicode("@test-\xe0\xf2", "latin-1") variable
/external/python/cpython3/Lib/test/support/
D__init__.py784 TESTFN_UNICODE = TESTFN_ASCII + "-\xe0\xf2\u0258\u0141\u011f" variable
790 TESTFN_UNICODE = unicodedata.normalize('NFD', TESTFN_UNICODE) variable
/external/python/cpython3/Doc/library/
Dtest.rst261 .. data:: TESTFN_UNICODE