class documentation

SetAsideModule is a context manager for temporarily removing a module from sys.modules.

Method __enter__ Undocumented
Method __exit__ Undocumented
Method __init__ Undocumented
Instance Variable modules Undocumented
Instance Variable name The name of the module to remove.
Method _unimport Find the given module and all of its hierarchically inferior modules in sys.modules, remove them from it, and return whatever was found.
def __enter__(self): (source)
def __exit__(self, excType, excValue, traceback): (source)
def __init__(self, name): (source)

Undocumented

The name of the module to remove.

def _unimport(self, name): (source)

Find the given module and all of its hierarchically inferior modules in sys.modules, remove them from it, and return whatever was found.