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

Method import_

Lib/test/test_importlib/source/test_finder.py:46–48  ·  view source on GitHub ↗
(self, root, module)

Source from the content-addressed store, hash-verified

44 return self.machinery.FileFinder(root, *loader_details)
45
46 def import_(self, root, module):
47 finder = self.get_finder(root)
48 return self._find(finder, module, loader_only=True)
49
50 def run_test(self, test, create=None, *, compile_=None, unlink=None):
51 """Test the finding of 'test' with the creation of modules listed in

Callers 4

run_testMethod · 0.95
test_failureMethod · 0.95

Calls 2

get_finderMethod · 0.95
_findMethod · 0.45

Tested by

no test coverage detected