def addError(self, test, error):
        self.errors.append((test, self._getFailure(error)))
Report an error that occurred while running the given test.
dataset/ETHPy150Open twisted/twisted/twisted/trial/reporter.py/TestResult.addError