(self)
| 76 | |
| 77 | @requires_zlib() |
| 78 | def testDeflated(self): |
| 79 | # Try the temp file first. If we do TESTFN2 first, then it hogs |
| 80 | # gigabytes of disk space for the duration of the test. |
| 81 | with TemporaryFile() as f: |
| 82 | self.zipTest(f, zipfile.ZIP_DEFLATED) |
| 83 | self.assertFalse(f.closed) |
| 84 | self.zipTest(TESTFN2, zipfile.ZIP_DEFLATED) |
| 85 | |
| 86 | def tearDown(self): |
| 87 | os_helper.unlink(TESTFN2) |
nothing calls this directly
no test coverage detected