Undocumented
Method _run_user Run a user supplied function.

Inherited from RunTest:

Instance Variable case The test case that is to be run.
Instance Variable result The result object a case is reporting to.
Instance Variable handlers A list of (ExceptionClass, handler_function) for exceptions that should be caught if raised from the user code. Exceptions that are caught are checked against this list in first to last order. There is a catch-all of 'Exception' at the end of the list, so to add a new exception to the list, insert it at the front (which ensures that it will be checked before any existing base classes in the list. If you add multiple exceptions some of which are subclasses of each other, add the most specific exceptions last (so they come before their parent classes in the list).
Instance Variable exception_caught An object returned when _run_user catches an exception.
Method __init__ Create a RunTest to run a case.
Method run Run self.case reporting activity to result.
Instance Variable _exceptions A list of caught exceptions, used to do the single reporting of error/failure/skip etc.
Method _run_one Run one test reporting to result.
Method _run_prepared_result Run one test reporting to result.
Method _run_core Run the user supplied test code.
Method _run_cleanups Run the cleanups that have been added with addCleanup.
Method _got_user_exception Called when user code raises an exception.
def _run_user(self, fn, *args, **kwargs):

Run a user supplied function.

Exceptions are processed by _got_user_exception.

ReturnsEither whatever 'fn' returns or exception_caught if 'fn' raised an exception.
API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28.