Lines Matching refs:pkgdir
781 pkgdir = os.path.join(TESTFN, "syntaxerr")
782 os.mkdir(pkgdir)
783 badsyntax = os.path.join(pkgdir, "__init__") + os.extsep + "py"
816 pkgdir = os.path.join(TESTFN, 'walkpkg')
817 os.mkdir(pkgdir)
818 self.addCleanup(rmtree, pkgdir)
819 init_path = os.path.join(pkgdir, '__init__.py')
822 current_mode = stat.S_IMODE(os.stat(pkgdir).st_mode)
824 os.chmod(pkgdir, current_mode & ~stat.S_IEXEC)
829 os.chmod(pkgdir, current_mode)
833 pkgdir = os.path.join(TESTFN, "test_error_package")
834 os.mkdir(pkgdir)
835 init = os.path.join(pkgdir, "__init__.py")