MCPcopy Index your code
hub / github.com/python/cpython / test_append_compressed

Method test_append_compressed

Lib/test/test_tarfile.py:2568–2570  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2566 tar.addfile(t, f)
2567
2568 def test_append_compressed(self):
2569 self._create_testtar("w:" + self.suffix)
2570 self.assertRaises(tarfile.ReadError, tarfile.open, tmpname, "a")
2571
2572class AppendTest(AppendTestBase, unittest.TestCase):
2573 test_append_compressed = None

Callers

nothing calls this directly

Calls 2

_create_testtarMethod · 0.95
assertRaisesMethod · 0.45

Tested by

no test coverage detected