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

Method _get_module_from_name

Lib/unittest/loader.py:366–368  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

364 return name
365
366 def _get_module_from_name(self, name):
367 __import__(name)
368 return sys.modules[name]
369
370 def _match_path(self, path, full_path, pattern):
371 # override this method to use alternative matching strategy

Callers 1

_find_test_pathMethod · 0.95

Calls 1

__import__Function · 0.85

Tested by

no test coverage detected