(self)
| 812 | os_helper.unlink(empty) |
| 813 | |
| 814 | def test_parallel_iteration(self): |
| 815 | # Issue #16601: Restarting iteration over tarfile continued |
| 816 | # from where it left off. |
| 817 | with tarfile.open(self.tarname) as tar: |
| 818 | for m1, m2 in zip(tar, tar): |
| 819 | self.assertEqual(m1.offset, m2.offset) |
| 820 | self.assertEqual(m1.get_info(), m2.get_info()) |
| 821 | |
| 822 | @unittest.skipIf(zlib is None, "requires zlib") |
| 823 | def test_zlib_error_does_not_leak(self): |
nothing calls this directly
no test coverage detected