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

Method find

Lib/test/test_importlib/frozen/test_finder.py:23–26  ·  view source on GitHub ↗
(self, name, **kwargs)

Source from the content-addressed store, hash-verified

21 """Test finding frozen modules."""
22
23 def find(self, name, **kwargs):
24 finder = self.machinery.FrozenImporter
25 with import_helper.frozen_modules():
26 return finder.find_spec(name, **kwargs)
27
28 def check_basic(self, spec, name, ispkg=False):
29 self.assertEqual(spec.name, name)

Callers 5

test_moduleMethod · 0.95
test_packageMethod · 0.95
test_path_ignoredMethod · 0.95
test_target_ignoredMethod · 0.95
test_failureMethod · 0.95

Calls 1

find_specMethod · 0.45

Tested by

no test coverage detected