Lines Matching refs:zipimporter
455 zi = zipimport.zipimporter(TEMP_ZIP)
464 self.assertIsInstance(find_mod, zipimport.zipimporter)
475 self.assertIsInstance(spec.loader, zipimport.zipimporter)
508 zi2 = zipimport.zipimporter(TEMP_ZIP + os.sep + TESTPACK)
527 zi = zipimport.zipimporter(TEMP_ZIP)
546 self.assertIsInstance(spec.loader, zipimport.zipimporter)
568 zi = zipimport.zipimporter(TEMP_ZIP + os.sep + packdir)
587 zi2 = zipimport.zipimporter(pkg_path)
593 self.assertIsInstance(find_mod_dotted, zipimport.zipimporter)
602 self.assertIsInstance(spec.loader, zipimport.zipimporter)
630 zi = zipimport.zipimporter(TEMP_ZIP)
740 spec = zipimport.zipimporter(filename).find_spec(TESTMOD)
752 zipimport.zipimporter(filename)
753 zipimport.zipimporter(os.fsencode(filename))
755 zipimport.zipimporter(bytearray(os.fsencode(filename)))
757 zipimport.zipimporter(memoryview(os.fsencode(filename)))
780 zipimport.zipimporter, filename)
789 self.assertRaises(TypeError, zipimport.zipimporter, None)
790 self.assertRaises(TypeError, zipimport.zipimporter, TESTMOD, kwd=None)
791 self.assertRaises(TypeError, zipimport.zipimporter,
809 zipimport.zipimporter(TESTMOD)
830 z = zipimport.zipimporter(TESTMOD)