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

Method test_existing

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

Source from the content-addressed store, hash-verified

2605 self._test(names=["foo", "bar"], fileobj=fobj)
2606
2607 def test_existing(self):
2608 self._create_testtar()
2609 self._add_testfile()
2610 self._test(names=["foo", "bar"])
2611
2612 # Append mode is supposed to fail if the tarfile to append to
2613 # does not end with a zero block.

Callers

nothing calls this directly

Calls 3

_add_testfileMethod · 0.95
_testMethod · 0.95
_create_testtarMethod · 0.80

Tested by

no test coverage detected