Skip to content

Commit f3f61fb

Browse files
author
Gabriel Reis
committed
Color highlight on the name of the failed tests
1 parent 8e54d07 commit f3f61fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

_pytest/terminal.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,8 @@ def summary_failures(self):
458458
self.write_line(line)
459459
else:
460460
msg = self._getfailureheadline(rep)
461-
self.write_sep("_", msg)
461+
markup = {'red': True, 'bold': True}
462+
self.write_sep("_", msg, **markup)
462463
self._outrep_summary(rep)
463464

464465
def summary_errors(self):

0 commit comments

Comments
 (0)