From f3f61fb5d1f3aa23de755c75e1e2f7e515d492eb Mon Sep 17 00:00:00 2001 From: Gabriel Reis Date: Wed, 28 Oct 2015 08:12:57 +0000 Subject: [PATCH] Color highlight on the name of the failed tests --- _pytest/terminal.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_pytest/terminal.py b/_pytest/terminal.py index ce4a88bc0..efc8acc63 100644 --- a/_pytest/terminal.py +++ b/_pytest/terminal.py @@ -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):