twisted.internet.test.modulehelpers.AlternateReactor(NoReactor) class documentationtwisted.internet.test.modulehelpers
(View In Hierarchy)
A context manager which temporarily installs a different object as the global reactor.
| Method | __init__ | |
| Method | __enter__ | Undocumented |
Inherited from NoReactor:
| Method | __exit__ | Undocumented |
Inherited from SetAsideModule (via NoReactor):
| 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. |