MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_null

Method test_null

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

Source from the content-addressed store, hash-verified

2600 self.assertRaises(tarfile.ReadError, self._add_testfile)
2601
2602 def test_null(self):
2603 self._test_error(b"")
2604
2605 def test_incomplete(self):
2606 self._test_error(b"\0" * 13)

Callers

nothing calls this directly

Calls 1

_test_errorMethod · 0.95

Tested by

no test coverage detected