(self)
| 1664 | self._test_extract_with_target(FakePath(extdir)) |
| 1665 | |
| 1666 | def test_extract_all(self): |
| 1667 | with temp_cwd(): |
| 1668 | self.make_test_file() |
| 1669 | with zipfile.ZipFile(TESTFN2, "r") as zipfp: |
| 1670 | zipfp.extractall() |
| 1671 | for fpath, fdata in SMALL_TEST_DATA: |
| 1672 | outfile = os.path.join(os.getcwd(), fpath) |
| 1673 | |
| 1674 | with open(outfile, "rb") as f: |
| 1675 | self.assertEqual(fdata.encode(), f.read()) |
| 1676 | |
| 1677 | unlink(outfile) |
| 1678 | |
| 1679 | def _test_extract_all_with_target(self, target): |
| 1680 | self.make_test_file() |
nothing calls this directly
no test coverage detected