Home
last modified time | relevance | path

Searched refs:extsep (Results 1 – 25 of 32) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_pkg.py90 hier = [("t1", None), ("t1 __init__"+os.extsep+"py", "")]
97 ("t2 __init__"+os.extsep+"py", "'doc for t2'"),
99 ("t2 sub __init__"+os.extsep+"py", ""),
101 ("t2 sub subsub __init__"+os.extsep+"py", "spam = 1"),
144 ("t3 __init__"+os.extsep+"py", ""),
146 ("t3 sub __init__"+os.extsep+"py", ""),
148 ("t3 sub subsub __init__"+os.extsep+"py", "spam = 1"),
161 ("t4 __init__"+os.extsep+"py", ""),
164 ("t4 sub __init__"+os.extsep+"py", ""),
165 ("t4 sub subsub"+os.extsep+"py",
[all …]
Dtest_import.py20 return (name + os.extsep + "py",
21 name + os.extsep + "pyc",
22 name + os.extsep + "pyo",
23 name + os.extsep + "pyw",
64 pyo = TESTFN + os.extsep + "pyo"
68 pyc = TESTFN + os.extsep + "pyc"
102 test_with_extension(os.extsep + "py")
119 fname = TESTFN + os.extsep + "py"
146 fname = TESTFN + os.extsep + "py"
196 filename = module + os.extsep + 'py'
[all …]
Dtest_repr.py230 touch(os.path.join(self.pkgname, '__init__'+os.extsep+'py'))
233 touch(os.path.join(self.subpkgname, '__init__'+os.extsep+'py'))
255 touch(os.path.join(self.subpkgname, self.pkgname + os.extsep + 'py'))
263 touch(os.path.join(self.subpkgname, 'foo'+os.extsep+'py'), '''\
278 touch(os.path.join(self.subpkgname, 'bar'+os.extsep+'py'), '''\
288 touch(os.path.join(self.subpkgname, 'baz'+os.extsep+'py'), '''\
299 touch(os.path.join(self.subpkgname, 'qux'+os.extsep+'py'), '''\
Dtest_imageop.py78 uu.decode(get_qualified_path('testrgb'+os.extsep+'uue'), 'test'+os.extsep+'rgb')
80 image, width, height = getimage('test'+os.extsep+'rgb')
177 unlink('test'+os.extsep+'rgb')
Dscript_helper.py107 script_filename = script_basename+os.extsep+'py'
123 zip_filename = zip_basename+os.extsep+'zip'
155 zip_filename = zip_basename+os.extsep+'zip'
Dtest_pkgimport.py26 self.package_dir, '__init__'+os.extsep+'py'), 'w').close()
27 self.module_path = os.path.join(self.package_dir, 'foo'+os.extsep+'py')
Dtest_runpy.py111 pkg_fname = os.path.join(pkg_dir, "__init__"+os.extsep+"py")
118 test_fname = mod_base+os.extsep+"py"
215 sibling_fname = os.path.join(module_dir, "sibling"+os.extsep+"py")
226 nephew_fname = os.path.join(cousin_dir, "nephew"+os.extsep+"py")
Dtest_tokenize.py628 fn = test_support.findfile("tokenize_tests" + os.extsep + "txt")
684 fn = test_support.findfile("tokenize_tests" + os.extsep + "txt")
Dtest_pydoc.py451 sourcefn = os.path.join(TESTFN, modname) + os.extsep + "py"
463 badsyntax = os.path.join(pkgdir, "__init__") + os.extsep + "py"
Dtest_shelve.py11 fn = "shelftemp" + os.extsep + "db"
Dtest_old_mailbox.py48 filename = os.extsep.join((str(t), str(pid), "myhostname", "mydomain"))
Dtest_exceptions.py172 self.assertTrue(co.co_filename.endswith('test_exceptions'+os.extsep+'py'))
184 self.assertTrue(co.co_filename.endswith('test_exceptions'+os.extsep+'py'))
/external/python/cpython2/Lib/
Dwhichdb.py32 f = open(filename + os.extsep + "pag", "rb")
36 f = open(filename + os.extsep + "dir", "rb")
43 f = open(filename + os.extsep + "db", "rb")
58 os.stat(filename + os.extsep + "dat")
59 size = os.stat(filename + os.extsep + "dir").st_size
63 f = open(filename + os.extsep + "dir", "rb")
Dgenericpath.py93 def _splitext(p, sep, altsep, extsep): argument
104 dotIndex = p.rfind(extsep)
109 if p[filenameIndex] != extsep:
Ddumbdbm.py57 self._dirfile = filebasename + _os.extsep + 'dir'
63 self._datfile = filebasename + _os.extsep + 'dat'
64 self._bakfile = filebasename + _os.extsep + 'bak'
Dmacpath.py20 extsep = '.' variable
75 return genericpath._splitext(p, sep, altsep, extsep)
Dpkgutil.py522 sname = os.extsep.join(name.split('.'))
523 sname_pkg = sname + os.extsep + "pkg"
524 init_py = "__init__" + os.extsep + "py"
Dposixpath.py32 extsep = '.' variable
98 return genericpath._splitext(p, sep, altsep, extsep)
Dos2emxpath.py25 extsep = '.' variable
Dntpath.py27 extsep = '.' variable
200 return genericpath._splitext(p, sep, altsep, extsep)
Dfileinput.py312 self._filename + (self._backup or os.extsep+"bak"))
Dsite.py187 dotpth = os.extsep + "pth"
/external/python/cpython2/Lib/distutils/command/
Dinstall_lib.py17 PYTHON_SOURCE_EXTENSION = os.extsep + "py"
/external/autotest/client/site_tests/firmware_TouchMTB/
Dreport_html.py162 log_filename = os.extsep.join([log_file_root, 'log'])
/external/python/cpython2/Lib/plat-riscos/
Driscospath.py18 extsep = '/' variable

12