t.t.r.PyUnitTestCase(object) : class documentation

Part of twisted.trial.runner View Source View In Hierarchy

Known subclasses: twisted.trial.runner.DocTestCase

DEPRECATED in Twisted 8.0.

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
def __init__(self, test): (source)
Undocumented
def id(self): (source)
Undocumented
def __repr__(self): (source)
Undocumented
def __call__(self, results): (source)
Undocumented
def visit(self, visitor): (source)

Call the given visitor with the original, standard library, test case that self wraps. See unittest.TestCase.visit.

Deprecated in Twisted 8.0.
def __getattr__(self, name): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.