def addError(self, test, error):
        error = self._getFailure(error)
        super(Reporter, self).addError(test, error)
        if self.realtime:
            error = self.errors[-1][1] # guarantee it's a Failure
            self._write(self._formatFailureTraceback(error))
Called when a test raises an error. If C{realtime} is set, then it
dataset/ETHPy150Open twisted/twisted/twisted/trial/reporter.py/Reporter.addError