Searched refs:TESTFN_UNICODE (Results 1 - 6 of 6) sorted by relevance

/external/python/cpython2/Lib/test/
H A Dtest_unicode_file.py8 from test.test_support import run_unittest, change_cwd, TESTFN_UNICODE namespace
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
[all...]
H A Dtest_sax.py31 support.TESTFN_UNICODE.encode(support.TESTFN_ENCODING)
656 fname = support.TESTFN_UNICODE
810 fname = support.TESTFN_UNICODE
898 fname = support.TESTFN_UNICODE
H A Dtest_gzip.py43 unicode_filename = test_support.TESTFN_UNICODE
H A 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)]
23 check_warnings, captured_stdout namespace
H A Dtest_support.py661 # TESTFN_UNICODE is a filename that can be encoded using the
666 TESTFN_UNICODE = "@test-\xe0\xf2" variable
669 TESTFN_UNICODE = unicode("@test-\xe0\xf2", "latin-1") variable
H A Dtest_posix.py582 fn = test_support.TESTFN_UNICODE

Completed in 142 milliseconds