(cls, module)
| 134 | |
| 135 | @classmethod |
| 136 | def exec_module(cls, module): |
| 137 | spec = module.__spec__ |
| 138 | source = cls._get_source(spec) |
| 139 | code = _bootstrap._call_with_frames_removed( |
| 140 | compile, source, spec.origin, "exec", dont_inherit=True |
| 141 | ) |
| 142 | _bootstrap._call_with_frames_removed(exec, code, module.__dict__) |
| 143 | |
| 144 | |
| 145 | def remove_prefix(s, prefix): |
nothing calls this directly
no test coverage detected