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

Method execute

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

Source from the content-addressed store, hash-verified

13
14class CommonTextTests(util.CommonTests, unittest.TestCase):
15 def execute(self, package, path):
16 target = resources.files(package).joinpath(path)
17 with target.open(encoding='utf-8'):
18 pass
19
20
21class OpenTests:

Callers

nothing calls this directly

Calls 3

joinpathMethod · 0.45
filesMethod · 0.45
openMethod · 0.45

Tested by

no test coverage detected