OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TESTFN_UNICODE
(Results
1 - 8
of
8
) sorted by null
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_unicode_file.py
8
from test.test_support import run_unittest,
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())
24
TESTFN_ENCODED =
TESTFN_UNICODE
.encode(TESTFN_ENCODING)
31
if TESTFN_ENCODED.decode(TESTFN_ENCODING) !=
TESTFN_UNICODE
:
173
self._test_single(
TESTFN_UNICODE
)
178
self._test_equivalent(TESTFN_ENCODED,
TESTFN_UNICODE
)
179
self._test_equivalent(
TESTFN_UNICODE
, TESTFN_ENCODED)
187
self._do_directory(TESTFN_ENCODED+ext,
TESTFN_UNICODE
+ext, True
[
all
...]
test_sax.py
30
support.
TESTFN_UNICODE
.encode(support.TESTFN_ENCODING)
476
fname = support.
TESTFN_UNICODE
630
fname = support.
TESTFN_UNICODE
718
fname = support.
TESTFN_UNICODE
test_zipfile.py
21
from test.test_support import TESTFN,
TESTFN_UNICODE
, TESTFN_ENCODING, \
24
TESTFN_UNICODE
.encode(TESTFN_ENCODING)
28
TESTFN_UNICODE
= None
434
@skipUnless(
TESTFN_UNICODE
, "No Unicode filesystem semantics on this platform.")
436
fnames = [u'foo.txt', os.path.basename(
TESTFN_UNICODE
)]
[
all
...]
test_support.py
431
#
TESTFN_UNICODE
is a filename that can be encoded using the
436
TESTFN_UNICODE
= "@test-\xe0\xf2"
439
TESTFN_UNICODE
= unicode("@test-\xe0\xf2", "latin-1")
[
all
...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_unicode_file.py
8
from test.test_support import run_unittest,
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())
24
TESTFN_ENCODED =
TESTFN_UNICODE
.encode(TESTFN_ENCODING)
31
if TESTFN_ENCODED.decode(TESTFN_ENCODING) !=
TESTFN_UNICODE
:
173
self._test_single(
TESTFN_UNICODE
)
178
self._test_equivalent(TESTFN_ENCODED,
TESTFN_UNICODE
)
179
self._test_equivalent(
TESTFN_UNICODE
, TESTFN_ENCODED)
187
self._do_directory(TESTFN_ENCODED+ext,
TESTFN_UNICODE
+ext, True
[
all
...]
test_sax.py
30
support.
TESTFN_UNICODE
.encode(support.TESTFN_ENCODING)
476
fname = support.
TESTFN_UNICODE
630
fname = support.
TESTFN_UNICODE
718
fname = support.
TESTFN_UNICODE
test_zipfile.py
21
from test.test_support import TESTFN,
TESTFN_UNICODE
, TESTFN_ENCODING, \
24
TESTFN_UNICODE
.encode(TESTFN_ENCODING)
28
TESTFN_UNICODE
= None
434
@skipUnless(
TESTFN_UNICODE
, "No Unicode filesystem semantics on this platform.")
436
fnames = [u'foo.txt', os.path.basename(
TESTFN_UNICODE
)]
[
all
...]
test_support.py
431
#
TESTFN_UNICODE
is a filename that can be encoded using the
436
TESTFN_UNICODE
= "@test-\xe0\xf2"
439
TESTFN_UNICODE
= unicode("@test-\xe0\xf2", "latin-1")
[
all
...]
Completed in 284 milliseconds