summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-07-21 13:45:08 -0700
committerGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-07-21 13:45:08 -0700
commitb84f3ad69dd625d9fecded8c661528321cffe78e (patch)
tree7bb0745f2e8af5e09eee2ddc415260163088e63c
parent2a1e21d5f74d8ea47136de5e6558e9a6abe31468 (diff)
parent4fc4d641bb9f90538cd4bde0ad83012bc8622236 (diff)
Merge
-rw-r--r--Test/runTests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Test/runTests.py b/Test/runTests.py
index f32b0e8d..02a6f039 100644
--- a/Test/runTests.py
+++ b/Test/runTests.py
@@ -233,8 +233,7 @@ class Test:
def report(self, tid, running, alltests):
running = [alltests[rid].fname for rid in running]
# running = ", ".join(running if len(running) <= 2 else (running[:2] + ["..."]))
- if running:
- running = "; oldest thread: {}".format(wrap_color(running[0], Colors.DIM))
+ running = "; oldest thread: {}".format(wrap_color(running[0], Colors.DIM)) if running else ""
fstring = "[{:5.2f}s] {} ({} of {}{})"
message = fstring.format(self.duration, wrap_color(self.dfy, Colors.BRIGHT),