[PATCH] run-tests: print a new line before writing the diff

Idan Kamara idankk86 at gmail.com
Sat Apr 30 07:20:33 CDT 2011


# HG changeset patch
# User Idan Kamara <idankk86 at gmail.com>
# Date 1304166027 -10800
# Node ID 990e1d64a1340c8553b438c7dd82ea12f5bf6d5e
# Parent  61fe0686f5da8736d1cc87618c6137d7234434f2
run-tests: print a new line before writing the diff

diff -r 61fe0686f5da -r 990e1d64a134 tests/run-tests.py
--- a/tests/run-tests.py	Sat Apr 30 15:10:58 2011 +0300
+++ b/tests/run-tests.py	Sat Apr 30 15:20:27 2011 +0300
@@ -303,6 +303,7 @@
     return missing, failed
 
 def showdiff(expected, output, ref, err):
+    print
     for line in difflib.unified_diff(expected, output, ref, err):
         sys.stdout.write(line)
 


More information about the Mercurial-devel mailing list