Color highlight on the name of the failed tests

This commit is contained in:
Gabriel Reis 2015-10-28 08:12:57 +00:00
parent 8e54d07c40
commit f3f61fb5d1
1 changed files with 2 additions and 1 deletions

View File

@ -458,7 +458,8 @@ class TerminalReporter:
self.write_line(line)
else:
msg = self._getfailureheadline(rep)
self.write_sep("_", msg)
markup = {'red': True, 'bold': True}
self.write_sep("_", msg, **markup)
self._outrep_summary(rep)
def summary_errors(self):