# HG changeset patch # User Idan Kamara # Date 2011-04-30 12:20:27 # Node ID 643381286e0c8aa010d0a6872bca1ac05d91d06e # Parent 611d2f8a4ba2f65cf80e3db7809060c8aab7d390 run-tests: print a new line before writing the diff diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -303,6 +303,7 @@ def parsehghaveoutput(lines): return missing, failed def showdiff(expected, output, ref, err): + print for line in difflib.unified_diff(expected, output, ref, err): sys.stdout.write(line)