Known subclasses: twisted.internet.test.modulehelpers.NoReactor

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

Instance Variable name The name of the module to remove.
Method __init__ Undocumented
Method __enter__ Undocumented
Method __exit__ Undocumented
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.
name =
The name of the module to remove.
def __init__(self, name):
def _unimport(self, name):

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):
def __exit__(self, excType, excValue, traceback):
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.