Home
last modified time | relevance | path

Searched refs:tempdir (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_dircache.py14 self.tempdir = tempfile.mkdtemp()
17 for fname in os.listdir(self.tempdir):
19 os.rmdir(self.tempdir)
22 f = open(os.path.join(self.tempdir, fname), 'w')
26 os.mkdir(os.path.join(self.tempdir, fname))
29 fname = os.path.join(self.tempdir, fname)
37 entries = dircache.listdir(self.tempdir)
41 self.assertTrue(dircache.listdir(self.tempdir) is entries)
54 entries = dircache.listdir(self.tempdir)
56 self.assertTrue(dircache.listdir(self.tempdir) is entries)
[all …]
Dtest_glob.py10 return os.path.normpath(os.path.join(self.tempdir, *parts))
21 self.tempdir = TESTFN+"_dir"
33 shutil.rmtree(self.tempdir)
40 p = os.path.join(self.tempdir, pattern)
96 res = glob.glob(self.tempdir + '*' + os.sep)
99 self.assertIn(res[0], [self.tempdir, self.tempdir + os.sep])
Dtest_tarfile.py727 tempdir = os.path.join(TEMPDIR, "exclude")
728 os.mkdir(tempdir)
731 name = os.path.join(tempdir, name)
739 tar.add(tempdir, arcname="empty_dir", exclude=exclude)
746 shutil.rmtree(tempdir)
749 tempdir = os.path.join(TEMPDIR, "filter")
750 os.mkdir(tempdir)
753 name = os.path.join(tempdir, name)
764 tar.add(tempdir, arcname="empty_dir", filter=filter)
774 shutil.rmtree(tempdir)
[all …]
Dtest_httpservers.py288 self.tempdir = tempfile.mkdtemp(dir=basetempdir)
289 self.tempdir_name = os.path.basename(self.tempdir)
290 temp = open(os.path.join(self.tempdir, 'test'), 'wb')
298 shutil.rmtree(self.tempdir)
329 os.chmod(self.tempdir, 0)
332 os.chmod(self.tempdir, 0755)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
Dtest_msvc9compiler.py114 tempdir = self.mkdtemp()
115 manifest = os.path.join(tempdir, 'manifest')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dtempfile.py245 tempdir = None variable
249 global tempdir
250 if tempdir is None:
253 if tempdir is None:
254 tempdir = _get_default_tempdir()
257 return tempdir
Dwebbrowser.py398 tempdir = os.path.join(tempfile.gettempdir(),
401 filename = os.path.join(tempdir, user + "-*")
/device/google/cuttlefish_vmm/x86_64/
DCargo.lock375 "tempdir 0.3.7",
456 name = "tempdir"