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

Method execute

Lib/test/test_importlib/resources/test_open.py:8–11  ·  view source on GitHub ↗
(self, package, path)

Source from the content-addressed store, hash-verified

6
7class CommonBinaryTests(util.CommonTests, unittest.TestCase):
8 def execute(self, package, path):
9 target = resources.files(package).joinpath(path)
10 with target.open('rb'):
11 pass
12
13
14class CommonTextTests(util.CommonTests, unittest.TestCase):

Callers

nothing calls this directly

Calls 3

joinpathMethod · 0.45
filesMethod · 0.45
openMethod · 0.45

Tested by

no test coverage detected