Searched refs:is_zipfile (Results 1 – 11 of 11) sorted by relevance
43 elif zipfile.is_zipfile(filename):
73 if zipfile.is_zipfile(packedfile):
1661 self.assertFalse(zipfile.is_zipfile(TESTFN))1663 self.assertFalse(zipfile.is_zipfile(pathlib.Path(TESTFN)))1666 self.assertFalse(zipfile.is_zipfile(fp))1670 self.assertFalse(zipfile.is_zipfile(fp))1672 self.assertFalse(zipfile.is_zipfile(fp))1694 self.assertTrue(zipfile.is_zipfile(TESTFN))1697 self.assertTrue(zipfile.is_zipfile(fp))1703 self.assertTrue(zipfile.is_zipfile(fp))1705 self.assertTrue(zipfile.is_zipfile(fp))2744 self.assertTrue(zipfile.is_zipfile(name),
1414 self.assertTrue(zipfile.is_zipfile(res))1427 self.assertTrue(zipfile.is_zipfile(res))
1161 if not zipfile.is_zipfile(filename):
198 def is_zipfile(filename): function
201 if not zipfile.is_zipfile(archive_path):
310 like :func:`zipfile.is_zipfile`. Patch by William Woodruff.
81 .. function:: is_zipfile(filename)
1716 The :func:`~zipfile.is_zipfile` function now
15795 - Issue #4756: zipfile.is_zipfile() now supports file-like objects. Patch by