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

Method test_detect_file

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

_test_modesMethod · 0.95

Tested by

no test coverage detected