CI: better cleanup for modules in between tests
This commit is contained in:
parent
94ace823e0
commit
ddbb2e5f23
5 changed files with 41 additions and 12 deletions
|
@ -11,6 +11,7 @@ A hook to insert user's config directory into Python's search path.
|
|||
from types import ModuleType
|
||||
|
||||
# TODO not ideal to keep it here, but this should really be a leaf in the import tree
|
||||
# TODO maybe I don't even need it anymore?
|
||||
def assign_module(parent: str, name: str, module: ModuleType) -> None:
|
||||
import sys
|
||||
import importlib
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue