Exclude empty reports for passed tests
This commit is contained in:
parent
b1fbb2ab92
commit
f9ab81a493
|
@ -745,9 +745,10 @@ class TerminalReporter(object):
|
|||
return
|
||||
self.write_sep("=", "PASSES")
|
||||
for rep in reports:
|
||||
msg = self._getfailureheadline(rep)
|
||||
self.write_sep("_", msg)
|
||||
self._outrep_summary(rep)
|
||||
if rep.sections:
|
||||
msg = self._getfailureheadline(rep)
|
||||
self.write_sep("_", msg)
|
||||
self._outrep_summary(rep)
|
||||
|
||||
def print_teardown_sections(self, rep):
|
||||
showcapture = self.config.option.showcapture
|
||||
|
|
Loading…
Reference in New Issue