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

Method test_null

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

Source from the content-addressed store, hash-verified

2617 self.assertRaises(tarfile.ReadError, self._add_testfile)
2618
2619 def test_null(self):
2620 self._test_error(b"")
2621
2622 def test_incomplete(self):
2623 self._test_error(b"\0" * 13)

Callers

nothing calls this directly

Calls 1

_test_errorMethod · 0.95

Tested by

no test coverage detected