(self)
| 458 | tar.close() |
| 459 | |
| 460 | def test_non_existent_tarfile(self): |
| 461 | # Test for issue11513: prevent non-existent gzipped tarfiles raising |
| 462 | # multiple exceptions. |
| 463 | with self.assertRaisesRegex(FileNotFoundError, "xxx"): |
| 464 | tarfile.open("xxx", self.mode) |
| 465 | |
| 466 | def test_null_tarfile(self): |
| 467 | # Test for issue6123: Allow opening empty archives. |
nothing calls this directly
no test coverage detected