Lines Matching +full:pkg +full:- +full:dir
25 pkg = 'test_getdata_filesys'
31 package_dir = os.path.join(self.dirname, pkg)
46 res1 = pkgutil.get_data(pkg, 'res.txt')
48 res2 = pkgutil.get_data(pkg, 'sub/res.txt')
51 del sys.modules[pkg]
55 pkg = 'test_getdata_zipfile'
65 z.writestr(pkg + '/__init__.py', "")
67 z.writestr(pkg + '/res.txt', RESOURCE_DATA)
68 z.writestr(pkg + '/sub/res.txt', RESOURCE_DATA)
73 res1 = pkgutil.get_data(pkg, 'res.txt')
75 res2 = pkgutil.get_data(pkg, 'sub/res.txt')
79 del sys.modules[pkg]
82 # issue7367 - walk_packages failed if unreadable dir on sys.path
85 # this does not appear to create an unreadable dir on Windows
125 # Ensure that get_data works without reloading - the "loads" module