summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-08-17 13:42:21 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-08-17 13:42:21 (GMT)
commit8f003192941ff17463c47e5078ed40edfee91df5 (patch)
treebb2b4720c1f91364dc313a16046098dae4674f81
parent72f25c8bc00589f41b9941081811385f92a4e004 (diff)
downloadcpython-8f003192941ff17463c47e5078ed40edfee91df5.zip
cpython-8f003192941ff17463c47e5078ed40edfee91df5.tar.gz
cpython-8f003192941ff17463c47e5078ed40edfee91df5.tar.bz2
regrtest: add newlines in output for readability
-rw-r--r--Lib/test/libregrtest/main.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/libregrtest/main.py b/Lib/test/libregrtest/main.py
index edf38b4..92ecc5b 100644
--- a/Lib/test/libregrtest/main.py
+++ b/Lib/test/libregrtest/main.py
@@ -296,15 +296,18 @@ class Regrtest:
print("- %s: %s" % (test, format_duration(time)))
if self.bad:
+ print()
print(count(len(self.bad), "test"), "failed:")
printlist(self.bad)
if self.environment_changed:
+ print()
print("{} altered the execution environment:".format(
count(len(self.environment_changed), "test")))
printlist(self.environment_changed)
if self.skipped and not self.ns.quiet:
+ print()
print(count(len(self.skipped), "test"), "skipped:")
printlist(self.skipped)