'Report an error that occurred while running the given test.
@type test: L{pyunit.TestCase}
@type error: L{Failure} or L{tuple}'

def addError(self, test, error):

    self.errors.append((test, self._getFailure(error)))
