From ea8038db10711f2dda3a991b04159a01fd364530 Mon Sep 17 00:00:00 2001 From: fijal Date: Wed, 22 Aug 2007 14:43:50 +0200 Subject: [PATCH] [svn r45907] Fix number --HG-- branch : trunk --- py/test/rsession/reporter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py/test/rsession/reporter.py b/py/test/rsession/reporter.py index 8725e62ad..4b83d9835 100644 --- a/py/test/rsession/reporter.py +++ b/py/test/rsession/reporter.py @@ -254,13 +254,13 @@ class AbstractReporter(object): else: self.failed[host] += 1 self.failed_tests_outcome.append(event) - sys.stdout.write("%15s: " % hostrepr) + sys.stdout.write("%15s: " % hostrepr) ansi_print("FAILED", esc=(31,1), newline=False, file=sys.stdout) sys.stdout.write(" ") # we should have printed 20 characters to this point itempath = ".".join(event.item.listnames()[1:-1]) funname = event.item.listnames()[-1] - lgt = get_terminal_width() - 20 + lgt = get_terminal_width() - 25 # mark the function name, to be sure to_display = len(itempath) + len(funname) + 1 if to_display > lgt: