def addError(self, test, err): """ """ _TextTestResult.addError(self, test, err) if config["publish"]: s = "" for l in format_exception(err[0], err[1], err[2]): s += l self.saveResult(test, "error", str(err[2]))
def addError(self, test, err): _TextTestResult.addError(self, test, err) self._store_result(test, format_exc_info(err))
def addError(self, test, err): _TextTestResult.addError(self, test, err) self.shouldStop = True
def addError(self, test, err): self.resultWriter.addError(test, err, self) _TextTestResult.addError(self, test, err)
def addError(self, test, err): err_inst = err[1] if isinstance(err_inst, NotImplementedError): self.addUnimplementedTest(test) else: _TextTestResult.addError(self, test, err)