def printErrorList(self, flavour, errors):
        for test, err in errors:
            self.writeErrSep1()
            self.writelnErr("%s %s (%s)" % (flavour, test.id(), test.describe() ))
            if self._explain:
                expln = test.explain()
                if expln:
                    self.writeErrSep2()
                    self.writeErr( expln )
                    self.writelnErr()

            self.writeErrSep2()
            for line in apply(traceback.format_exception, err):
                for l in line.split("\n")[:-1]:
                    self.writelnErr(l)
            self.writelnErr("")
dataset/ETHPy150Open skyostil/tracy/src/generator/Cheetah/Tests/unittest_local_copy.py/_TextTestResult.printErrorList/original