Home | History | Annotate | Download | only in test

Lines Matching refs:pkg

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]