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