summaryrefslogtreecommitdiff
path: root/Test/runTests.py
diff options
context:
space:
mode:
authorGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-07-21 13:14:16 -0700
committerGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-07-21 13:14:16 -0700
commit4fc4d641bb9f90538cd4bde0ad83012bc8622236 (patch)
tree429b73c1ff5fa227be1b2c4114baa306f6ffc83b /Test/runTests.py
parent0d94c8f5795b092372df5a06d6d0f9306d696d9b (diff)
Small fix in runTests.py
Diffstat (limited to 'Test/runTests.py')
-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),