Part of twisted.trial.runner View Source View In Hierarchy
This class decorates the pyunit.TestCase class, mainly to work around the differences between unittest in Python 2.3, 2.4, and 2.5. These differences are:
- The way doctest unittests describe themselves - Where the implementation of TestCase.run is (used to be in __call__) - Where the test method name is kept (mangled-private or non-mangled private variable)
It also implements visit, which we like.
Method | __init__ | Undocumented |
Method | id | Undocumented |
Method | __repr__ | Undocumented |
Method | __call__ | Undocumented |
Method | visit | Call the given visitor with the original, standard library, test case
that self wraps. See unittest.TestCase.visit . |
Method | __getattr__ | Undocumented |
self
wraps. See unittest.TestCase.visit
.
Deprecated in Twisted 8.0.