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

Method test_resolve

Lib/test/test_importlib/metadata/test_main.py:73–75  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

71 importlib.import_module('does_not_exist')
72
73 def test_resolve(self):
74 ep = entry_points(group='entries')['main']
75 self.assertEqual(ep.load().__name__, "main")
76
77 def test_entrypoint_with_colon_in_name(self):
78 ep = entry_points(group='entries')['ns:sub']

Callers

nothing calls this directly

Calls 3

entry_pointsFunction · 0.90
assertEqualMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected