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

Method execute

Lib/test/test_importlib/resources/test_read.py:9–10  ·  view source on GitHub ↗
(self, package, path)

Source from the content-addressed store, hash-verified

7
8class CommonBinaryTests(util.CommonTests, unittest.TestCase):
9 def execute(self, package, path):
10 resources.files(package).joinpath(path).read_bytes()
11
12
13class CommonTextTests(util.CommonTests, unittest.TestCase):

Callers

nothing calls this directly

Calls 3

read_bytesMethod · 0.45
joinpathMethod · 0.45
filesMethod · 0.45

Tested by

no test coverage detected