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

Class NewLoader

Lib/test/test_importlib/test_spec.py:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41
42class NewLoader(TestLoader):
43
44 EGGS = 1
45
46 def exec_module(self, module):
47 module.eggs = self.EGGS
48
49
50class ModuleSpecTests:

Callers 6

test_execMethod · 0.85
test_loadMethod · 0.85
test_reloadMethod · 0.85
test_reload_modifiedMethod · 0.85

Calls

no outgoing calls

Tested by 6

test_execMethod · 0.68
test_loadMethod · 0.68
test_reloadMethod · 0.68
test_reload_modifiedMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…