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: