class documentation

Extend unittest.TestResult to record events in the child processes so they can be replayed in the parent process. Events include things like which tests succeeded or failed.

Method __getstate__ Undocumented
Method __init__ Undocumented
Method addError Undocumented
Method addExpectedFailure Undocumented
Method addFailure Undocumented
Method addSkip Undocumented
Method addSubTest Undocumented
Method addSuccess Undocumented
Method addUnexpectedSuccess Undocumented
Method check_picklable Undocumented
Method check_subtest_picklable Undocumented
Method startTest Undocumented
Method startTestRun Undocumented
Method stopTest Undocumented
Method stopTestRun Undocumented
Method wasSuccessful Tells whether or not this result was a success.
Instance Variable errors Undocumented
Instance Variable events Undocumented
Instance Variable expectedFailures Undocumented
Instance Variable failures Undocumented
Instance Variable skipped Undocumented
Instance Variable unexpectedSuccesses Undocumented
Property test_index Undocumented
Method _confirm_picklable Confirm that obj can be pickled and unpickled as multiprocessing will need to pickle the exception in the child process and unpickle it in the parent process. Let the exception rise, if not.
Method _exc_info_to_string Undocumented
Method _print_unpicklable_subtest Undocumented
def __getstate__(self): (source)

Undocumented

def __init__(self, *args, **kwargs): (source)

Undocumented

def addError(self, test, err): (source)

Undocumented

def addExpectedFailure(self, test, err): (source)

Undocumented

def addFailure(self, test, err): (source)

Undocumented

def addSkip(self, test, reason): (source)

Undocumented

def addSubTest(self, test, subtest, err): (source)

Undocumented

def addSuccess(self, test): (source)

Undocumented

def addUnexpectedSuccess(self, test): (source)

Undocumented

def check_picklable(self, test, err): (source)

Undocumented

def check_subtest_picklable(self, test, subtest): (source)

Undocumented

def startTest(self, test): (source)

Undocumented

def startTestRun(self): (source)

Undocumented

def stopTest(self, test): (source)

Undocumented

def stopTestRun(self): (source)

Undocumented

def wasSuccessful(self): (source)

Tells whether or not this result was a success.

Undocumented

Undocumented

expectedFailures = (source)

Undocumented

failures = (source)

Undocumented

Undocumented

unexpectedSuccesses = (source)

Undocumented

Undocumented

def _confirm_picklable(self, obj): (source)

Confirm that obj can be pickled and unpickled as multiprocessing will need to pickle the exception in the child process and unpickle it in the parent process. Let the exception rise, if not.

def _exc_info_to_string(self, err, test): (source)

Undocumented

def _print_unpicklable_subtest(self, test, subtest, pickle_exc): (source)

Undocumented