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

Method test_empty_fileobj

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

Source from the content-addressed store, hash-verified

2590 self._test()
2591
2592 def test_empty_fileobj(self):
2593 fobj = io.BytesIO(b"\0" * 1024)
2594 self._add_testfile(fobj)
2595 fobj.seek(0)
2596 self._test(fileobj=fobj)
2597
2598 def test_fileobj(self):
2599 self._create_testtar()

Callers

nothing calls this directly

Calls 3

_add_testfileMethod · 0.95
seekMethod · 0.95
_testMethod · 0.95

Tested by

no test coverage detected