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

Method test_detect_file

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

Source from the content-addressed store, hash-verified

1035 testfunc(self.tarname, "r|*")
1036
1037 def test_detect_file(self):
1038 self._test_modes(self._testfunc_file)
1039
1040 def test_detect_fileobj(self):
1041 self._test_modes(self._testfunc_fileobj)

Callers

nothing calls this directly

Calls 1

_test_modesMethod · 0.95

Tested by

no test coverage detected