Fix diff header (line endings) for failed test output in run-tests.py.
authorThomas Arendsen Hein <thomas@intevation.de>
Thu, 08 Jun 2006 15:06:31 +0200
changeset 2409 4068d6a7a99e
parent 2408 6ed46bad9530
child 2410 1e80d47b8581
Fix diff header (line endings) for failed test output in run-tests.py.
tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -51,7 +51,7 @@ def splitnewlines(text):
 
 def show_diff(expected, output):
     for line in difflib.unified_diff(expected, output,
-            "Expected output", "Test output", lineterm=''):
+            "Expected output", "Test output"):
         sys.stdout.write(line)
 
 def find_program(program):