summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/check.py b/check.py
index 72d585d5e..658746dff 100755
--- a/check.py
+++ b/check.py
@@ -164,7 +164,7 @@ def run_command(cmd, expected_status=0, stderr=None):
def fail(actual, expected):
raise Exception("incorrect output, diff:\n\n%s" % (
- ''.join([a.rstrip()+'\n' for a in difflib.unified_diff(expected.split('\n'), actual.split('\n'), fromfile='expected', tofile='actual')])[-1000:]
+ ''.join([a.rstrip()+'\n' for a in difflib.unified_diff(expected.split('\n'), actual.split('\n'), fromfile='expected', tofile='actual')])[:]
))
def fail_if_not_identical(actual, expected):