Lines Matching full:join

57         self.source_path = os.path.join(self.directory, '_test.py')
61 self.source_path2 = os.path.join(self.directory, '_test2.py')
64 self.subdirectory = os.path.join(self.directory, '_subdir')
66 self.source_path3 = os.path.join(self.subdirectory, '_test3.py')
73 self.bad_source_path = os.path.join(self.directory, '_test_bad.py')
196 data_dir = os.path.join(self.directory, 'data')
197 data_file = os.path.join(data_dir, 'file')
203 self.assertFalse(os.path.exists(os.path.join(data_dir, '__pycache__')))
287 path = os.path.join(path, f"dir_{i}")
288 source = os.path.join(path, 'script.py')
305 path = os.path.join(path, subdir)
319 expected_in = os.path.join(ddir, modpath)
344 path = os.path.join(self.directory, *fullpath)
348 stripdir = os.path.join(self.directory, *fullpath[:2])
351 expected_in = os.path.join(*fullpath[2:])
363 path = os.path.join(self.directory, *fullpath)
370 expected_in = os.path.join(prependdir, self.directory, *fullpath)
378 path = os.path.join(self.directory, *fullpath)
382 stripdir = os.path.join(self.directory, *fullpath[:2])
387 expected_in = os.path.join(prependdir, *fullpath[2:])
399 path = os.path.join(self.directory, *fullpath)
428 allowed_path = os.path.join(self.directory, "test", "dir", "allowed")
429 symlinks_path = os.path.join(self.directory, "test", "dir", "symlinks")
430 prohibited_path = os.path.join(self.directory, "test", "dir", "prohibited")
438 allowed_symlink = os.path.join(symlinks_path, "test_allowed.py")
439 prohibited_symlink = os.path.join(symlinks_path, "test_prohibited.py")
474 self.source_path = os.path.join(self.directory, '_test.py')
497 self.pkgdir = os.path.join(self.directory, 'foo')
499 self.pkgdir_cachedir = os.path.join(self.pkgdir, '__pycache__')
508 new_prefix = os.path.join(self.directory, '__testcache__')
615 cachecachedir = os.path.join(self.pkgdir_cachedir, '__pycache__')
639 subpackage = os.path.join(self.pkgdir, 'spam')
645 self.assertFalse(os.path.exists(os.path.join(subpackage, '__pycache__')))
651 subpackage = os.path.join(self.pkgdir, 'spam')
652 subpackage2 = os.path.join(subpackage, 'ham')
653 subpackage3 = os.path.join(subpackage2, 'eggs')
657 subinitfn = os.path.join(subpackage, '__init__.py')
665 os.path.exists(os.path.join(subpackage, '__pycache__')))
689 pkg = os.path.join(self.pkgdir, 'spam')
691 os.symlink('.', os.path.join(pkg, 'evil'))
692 os.symlink('.', os.path.join(pkg, 'evil2'))
694 self.assertCompiled(os.path.join(
717 pkgdir2 = os.path.join(self.directory, 'foo2')
737 os.rename(pyc, os.path.join(self.pkgdir, 'baz.pyc'))
744 '-i', os.path.join(self.directory, 'nosuchfile'), self.pkgdir)
755 with open(os.path.join(self.directory, 'l1'), 'w', encoding="utf-8") as l1:
756 l1.write(os.path.join(self.pkgdir, 'f1.py')+os.linesep)
757 l1.write(os.path.join(self.pkgdir, 'f2.py')+os.linesep)
758 self.assertRunOK('-i', os.path.join(self.directory, 'l1'), f4)
769 with open(os.path.join(self.directory, 'l1'), 'w', encoding="utf-8") as l1:
770 l1.write(os.path.join(self.pkgdir, 'f2.py')+os.linesep)
771 self.assertRunOK('-i', os.path.join(self.directory, 'l1'))
806 os.path.join(self.pkgdir, 'f1.py'))
821 pkgdir = os.path.join(self.directory, 'foo{}'.format(suffix))
841 path = os.path.join(self.directory, *fullpath)
845 stripdir = os.path.join(self.directory, *fullpath[:2])
849 expected_in = os.path.join(prependdir, *fullpath[2:])
860 path = os.path.join(self.directory, "optimizations")
885 allowed_path = os.path.join(self.directory, "test", "dir", "allowed")
886 symlinks_path = os.path.join(self.directory, "test", "dir", "symlinks")
887 prohibited_path = os.path.join(self.directory, "test", "dir", "prohibited")
895 allowed_symlink = os.path.join(symlinks_path, "test_allowed.py")
896 prohibited_symlink = os.path.join(symlinks_path, "test_prohibited.py")
991 return '\n'.join(lines)