t.t._synctest : module documentation

Part of twisted.trial View Source

Things likely to be used by writers of unit tests.

Maintainer: Jonathan Lange

Class UnsupportedTrialFeature A feature of twisted.trial was used that pyunit cannot support.
Class PyUnitResultAdapter No summary
Class _Warning No summary
Function _setWarningRegistryToNone Disable the per-module cache for every module found in modules, typically sys.modules.
Function _collectWarnings Call f with args positional arguments and kwargs keyword arguments and collect all warnings which are emitted as a result in a list.
Class _Assertions Replaces many of the built-in TestCase assertions. In general, these assertions provide better error messages and are easier to use in callbacks.
Class _LogObserver Observes the Twisted logs and catches any errors.
def _setWarningRegistryToNone(modules): (source)
Disable the per-module cache for every module found in modules, typically sys.modules.
ParametersmodulesDictionary of modules, typically sys.module dict
def _collectWarnings(observeWarning, f, *args, **kwargs): (source)
Call f with args positional arguments and kwargs keyword arguments and collect all warnings which are emitted as a result in a list.
ParametersobserveWarningA callable which will be invoked with a _Warning instance each time a warning is emitted.
ReturnsThe return value of f(*args, **kwargs).
API Documentation for Twisted, generated by pydoctor at 2013-11-18 18:11:01.