From 2e6fa148f32cc640c60559d0d672d8f6304a2f0e Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Tue, 29 Oct 2013 22:22:54 +0000 Subject: [PATCH] Tweaked the testurl diff output text. - Legacy-Id: 6534 --- ietf/utils/test_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ietf/utils/test_utils.py b/ietf/utils/test_utils.py index 6fbe6dbfa..3cc1a0e30 100644 --- a/ietf/utils/test_utils.py +++ b/ietf/utils/test_utils.py @@ -234,11 +234,11 @@ class SimpleUrlTestCase(django.test.TestCase,RealDatabaseTest): diff_list = list(unified_diff(list0, list1, master or refurl, url, "", "", 0, lineterm="")) if len(diff_list): if len(diff_list) > 10: - print "The diff is too long to show in its entirety. Here are the first 10 lines:\n" + print "\n Differences found. The list is too long to show in its entirety.\n Here are the first 10 lines:\n" print "\n".join(diff_list[:16]) print "..." else: - print " Differences found:" + print "\n Differences found:" print "\n".join(unified_diff(list0, list1, master or refurl, url, "", "", 0, lineterm="")) return False