regrtest: add newlines in output for readability

This commit is contained in:
Victor Stinner 2016-08-17 15:42:21 +02:00
parent 72f25c8bc0
commit 8f00319294
1 changed files with 3 additions and 0 deletions

View File

@ -296,15 +296,18 @@ class Regrtest:
print("- %s: %s" % (test, format_duration(time))) print("- %s: %s" % (test, format_duration(time)))
if self.bad: if self.bad:
print()
print(count(len(self.bad), "test"), "failed:") print(count(len(self.bad), "test"), "failed:")
printlist(self.bad) printlist(self.bad)
if self.environment_changed: if self.environment_changed:
print()
print("{} altered the execution environment:".format( print("{} altered the execution environment:".format(
count(len(self.environment_changed), "test"))) count(len(self.environment_changed), "test")))
printlist(self.environment_changed) printlist(self.environment_changed)
if self.skipped and not self.ns.quiet: if self.skipped and not self.ns.quiet:
print()
print(count(len(self.skipped), "test"), "skipped:") print(count(len(self.skipped), "test"), "skipped:")
printlist(self.skipped) printlist(self.skipped)