Searched refs:is_zipfile (Results 1 – 25 of 31) sorted by relevance
12
45 if zipfile.is_zipfile(associated_files_path):
35 self.assertTrue(zipfile.is_zipfile(zip_path))
55 self.assertTrue(zipfile.is_zipfile(result))
43 elif zipfile.is_zipfile(filename):
39 if zipfile.is_zipfile(path):
111 self.assertTrue(zipfile.is_zipfile(archive_path))156 self.assertTrue(zipfile.is_zipfile(archive_path))
88 if not (archive_path and zipfile.is_zipfile(archive_path)):
99 if not zipfile.is_zipfile(filename):
977 chk = zipfile.is_zipfile(TESTFN)981 chk = zipfile.is_zipfile(fp)986 chk = zipfile.is_zipfile(fp)989 chk = zipfile.is_zipfile(fp)1011 chk = zipfile.is_zipfile(TESTFN)1015 chk = zipfile.is_zipfile(fp)1022 chk = zipfile.is_zipfile(fp)1025 chk = zipfile.is_zipfile(fp)
482 self.assertTrue(zipfile.is_zipfile(res))496 self.assertTrue(zipfile.is_zipfile(res))
175 if zipfile.is_zipfile(archive_file):
1670 self.assertFalse(zipfile.is_zipfile(TESTFN))1672 self.assertFalse(zipfile.is_zipfile(pathlib.Path(TESTFN)))1675 self.assertFalse(zipfile.is_zipfile(fp))1679 self.assertFalse(zipfile.is_zipfile(fp))1681 self.assertFalse(zipfile.is_zipfile(fp))1703 self.assertTrue(zipfile.is_zipfile(TESTFN))1706 self.assertTrue(zipfile.is_zipfile(fp))1712 self.assertTrue(zipfile.is_zipfile(fp))1714 self.assertTrue(zipfile.is_zipfile(fp))2753 self.assertTrue(zipfile.is_zipfile(name),
1414 self.assertTrue(zipfile.is_zipfile(res))1427 self.assertTrue(zipfile.is_zipfile(res))
299 if not zipfile.is_zipfile(zip_path):
312 if not zipfile.is_zipfile(zip_path):
131 is_match_fn = zipfile.is_zipfile
248 if not zipfile.is_zipfile(zip_path):
1169 if not zipfile.is_zipfile(filename):
310 like :func:`zipfile.is_zipfile`. Patch by William Woodruff.
142 def is_zipfile(filename): function
64 .. function:: is_zipfile(filename)
1708 if zipfile.is_zipfile(ufo_path):
81 .. function:: is_zipfile(filename)
2385 zipfile.is_zipfile(path)