Searched refs:TESTFN2 (Results 1 - 14 of 14) sorted by relevance

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_applesingle.py22 TESTFN2 = test_support.TESTFN + '2' variable
37 os.unlink(TESTFN2)
43 fp = MacOS.openrf(TESTFN2, '*rb')
45 fp = open(TESTFN2, 'rb')
51 os.unlink(TESTFN2)
54 applesingle.decode(test_support.TESTFN, TESTFN2)
60 os.unlink(TESTFN2)
63 applesingle.decode(test_support.TESTFN, TESTFN2, resonly=True)
H A Dtest_macostools.py13 TESTFN2 = test_support.TESTFN + '2' variable
27 test_support.unlink(TESTFN2)
33 fp = open(TESTFN2, 'r')
41 rfp = MacOS.openrf(TESTFN2, '*rb')
56 test_support.unlink(TESTFN2)
57 macostools.copy(test_support.TESTFN, TESTFN2)
62 test_support.unlink(TESTFN2)
63 macostools.mkalias(test_support.TESTFN, TESTFN2)
64 fss, _, _ = Carbon.File.ResolveAliasFile(TESTFN2, 0)
68 test_support.unlink(TESTFN2)
[all...]
H A Dtest_zipfile.py30 TESTFN2 = TESTFN + "2" variable
116 for f in (TESTFN2, TemporaryFile(), StringIO()):
144 for f in (TESTFN2, TemporaryFile(), StringIO()):
149 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp:
153 with zipfile.ZipFile(TESTFN2, "r") as zipfp:
181 for f in (TESTFN2, TemporaryFile(), StringIO()):
249 for f in (TESTFN2, TemporaryFile(), StringIO()):
253 for f in (TESTFN2, TemporaryFile(), StringIO()):
257 for f in (TESTFN2, TemporaryFile(), StringIO()):
261 for f in (TESTFN2, TemporaryFil
[all...]
H A Dtest_zipfile64.py28 TESTFN2 = TESTFN + "2" variable
80 # Try the temp file first. If we do TESTFN2 first, then it hogs
82 for f in TemporaryFile(), TESTFN2:
87 # Try the temp file first. If we do TESTFN2 first, then it hogs
89 for f in TemporaryFile(), TESTFN2:
93 for fname in TESTFN, TESTFN2:
118 test_support.unlink(TESTFN2)
H A Dtest_pipes.py10 TESTFN2 = TESTFN + "2" variable
17 for f in (TESTFN, TESTFN2):
34 t.copy(TESTFN, TESTFN2)
35 with open(TESTFN2) as f:
51 with open(TESTFN2, 'w') as f:
54 t.copy(TESTFN, TESTFN2)
55 with open(TESTFN2) as f:
H A Dtest_macos.py8 TESTFN2 = test_support.TESTFN + '2' variable
H A Dtest_shutil.py22 TESTFN2 = TESTFN + "2" variable
317 shutil.copyfile, TESTFN, TESTFN2)
331 shutil.copytree(TESTFN, TESTFN2)
341 shutil.rmtree(TESTFN2, ignore_errors=True)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_applesingle.py22 TESTFN2 = test_support.TESTFN + '2' variable
37 os.unlink(TESTFN2)
43 fp = MacOS.openrf(TESTFN2, '*rb')
45 fp = open(TESTFN2, 'rb')
51 os.unlink(TESTFN2)
54 applesingle.decode(test_support.TESTFN, TESTFN2)
60 os.unlink(TESTFN2)
63 applesingle.decode(test_support.TESTFN, TESTFN2, resonly=True)
H A Dtest_macostools.py13 TESTFN2 = test_support.TESTFN + '2' variable
27 test_support.unlink(TESTFN2)
33 fp = open(TESTFN2, 'r')
41 rfp = MacOS.openrf(TESTFN2, '*rb')
56 test_support.unlink(TESTFN2)
57 macostools.copy(test_support.TESTFN, TESTFN2)
62 test_support.unlink(TESTFN2)
63 macostools.mkalias(test_support.TESTFN, TESTFN2)
64 fss, _, _ = Carbon.File.ResolveAliasFile(TESTFN2, 0)
68 test_support.unlink(TESTFN2)
[all...]
H A Dtest_zipfile.py30 TESTFN2 = TESTFN + "2" variable
116 for f in (TESTFN2, TemporaryFile(), StringIO()):
144 for f in (TESTFN2, TemporaryFile(), StringIO()):
149 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp:
153 with zipfile.ZipFile(TESTFN2, "r") as zipfp:
181 for f in (TESTFN2, TemporaryFile(), StringIO()):
249 for f in (TESTFN2, TemporaryFile(), StringIO()):
253 for f in (TESTFN2, TemporaryFile(), StringIO()):
257 for f in (TESTFN2, TemporaryFile(), StringIO()):
261 for f in (TESTFN2, TemporaryFil
[all...]
H A Dtest_zipfile64.py28 TESTFN2 = TESTFN + "2" variable
80 # Try the temp file first. If we do TESTFN2 first, then it hogs
82 for f in TemporaryFile(), TESTFN2:
87 # Try the temp file first. If we do TESTFN2 first, then it hogs
89 for f in TemporaryFile(), TESTFN2:
93 for fname in TESTFN, TESTFN2:
118 test_support.unlink(TESTFN2)
H A Dtest_pipes.py10 TESTFN2 = TESTFN + "2" variable
17 for f in (TESTFN, TESTFN2):
34 t.copy(TESTFN, TESTFN2)
35 with open(TESTFN2) as f:
51 with open(TESTFN2, 'w') as f:
54 t.copy(TESTFN, TESTFN2)
55 with open(TESTFN2) as f:
H A Dtest_macos.py8 TESTFN2 = test_support.TESTFN + '2' variable
H A Dtest_shutil.py22 TESTFN2 = TESTFN + "2" variable
317 shutil.copyfile, TESTFN, TESTFN2)
331 shutil.copytree(TESTFN, TESTFN2)
341 shutil.rmtree(TESTFN2, ignore_errors=True)

Completed in 192 milliseconds