Searched refs:is_zipfile (Results 1 – 24 of 24) sorted by relevance
33 self.assertTrue(zipfile.is_zipfile(zip_path))
54 assert zipfile.is_zipfile(tmp_file)
55 self.assertTrue(zipfile.is_zipfile(result))
111 self.assertTrue(zipfile.is_zipfile(archive_path))156 self.assertTrue(zipfile.is_zipfile(archive_path))
86 if not (archive_path and zipfile.is_zipfile(archive_path)):
98 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))
1343 self.assertFalse(zipfile.is_zipfile(TESTFN))1345 self.assertFalse(zipfile.is_zipfile(pathlib.Path(TESTFN)))1348 self.assertFalse(zipfile.is_zipfile(fp))1352 self.assertFalse(zipfile.is_zipfile(fp))1354 self.assertFalse(zipfile.is_zipfile(fp))1376 self.assertTrue(zipfile.is_zipfile(TESTFN))1379 self.assertTrue(zipfile.is_zipfile(fp))1385 self.assertTrue(zipfile.is_zipfile(fp))1387 self.assertTrue(zipfile.is_zipfile(fp))
1063 self.assertTrue(zipfile.is_zipfile(res))1076 self.assertTrue(zipfile.is_zipfile(res))
130 is_match_fn = zipfile.is_zipfile
259 if not zipfile.is_zipfile(zip_path):
895 if not zipfile.is_zipfile(filename):
193 def is_zipfile(filename): function
142 def is_zipfile(filename): function
64 .. function:: is_zipfile(filename)
1596 if zipfile.is_zipfile(ufo_path):
73 .. function:: is_zipfile(filename)
1011 if not z.is_zipfile(zipFile):
4377 zipfile.is_zipfile() now supports file-like objects. Patch by Gabriel
1716 The :func:`~zipfile.is_zipfile` function now
1692 The :func:`~zipfile.is_zipfile` function now
15795 - Issue #4756: zipfile.is_zipfile() now supports file-like objects. Patch by