From 4fc4d641bb9f90538cd4bde0ad83012bc8622236 Mon Sep 17 00:00:00 2001 From: Clément Pit--Claudel Date: Tue, 21 Jul 2015 13:14:16 -0700 Subject: Small fix in runTests.py --- Test/runTests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Test/runTests.py') 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), -- cgit v1.2.3