Lines Matching refs:TESTPACK
54 TESTPACK = "ziptestpackage" variable
238 packdir = TESTPACK + os.sep
241 self.doTest(pyc_ext, files, TESTPACK, TESTMOD)
246 packdir = TESTPACK + os.sep
251 self.doTest(pyc_ext, files, TESTPACK, TESTPACK2, TESTMOD)
256 packdir = TESTPACK + os.sep
262 self.doTest(pyc_ext, files, TESTPACK, TESTPACK2, TESTMOD)
267 packdir = TESTPACK + os.sep
269 packdir3 = packdir2 + TESTPACK + '3' + os.sep
293 mod = importlib.import_module(TESTPACK)
311 mod = importlib.import_module('.'.join((TESTPACK, TESTMOD)))
315 mod = importlib.import_module('.'.join((TESTPACK, TESTMOD + '2')))
320 subpkg = '.'.join((TESTPACK, TESTPACK2))
344 packdir = TESTPACK + os.sep
346 packdir3 = packdir2 + TESTPACK + '3' + os.sep
369 mod = importlib.import_module(TESTPACK)
387 mod = importlib.import_module('.'.join((TESTPACK, TESTMOD)))
391 mod = importlib.import_module('.'.join((TESTPACK, TESTMOD + '2')))
395 subpkg = '.'.join((TESTPACK, TESTPACK2))
415 packdir = TESTPACK + os.sep
433 self.assertEqual(zi.is_package(TESTPACK), True)
442 mod = zi.load_module(TESTPACK)
443 self.assertEqual(zi.get_filename(TESTPACK), mod.__file__)
445 existing_pack_path = importlib.import_module(TESTPACK).__path__[0]
446 expected_path_path = os.path.join(TEMP_ZIP, TESTPACK)
457 self.assertEqual(zi.get_source(TESTPACK), None)
467 zi2 = zipimport.zipimporter(TEMP_ZIP + os.sep + TESTPACK)
469 self.assertEqual(zi2.prefix, TESTPACK + os.sep)
475 packdir = TESTPACK + os.sep