(modname)
| 103 | suffix = sysconfig.get_config_var('EXT_SUFFIX') |
| 104 | |
| 105 | def load(modname): |
| 106 | so = (target_dir / modname).with_suffix(suffix) |
| 107 | spec = spec_from_file_location(modname, so) |
| 108 | mod = module_from_spec(spec) |
| 109 | spec.loader.exec_module(mod) |
| 110 | return mod |
| 111 | |
| 112 | # test that the module can be imported |
| 113 | load("extending") |
no outgoing calls
no test coverage detected
searching dependent graphs…