From 28fd7f5d6d2d6cd304287f24949ec12e42c4cc6d Mon Sep 17 00:00:00 2001
From: Iain Lane <iain.lane@canonical.com>
Date: Wed, 18 Nov 2015 13:36:23 +0000
Subject: [PATCH] tests: pretty print the excuses so that they are readable

---
 tests/test_autopkgtest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_autopkgtest.py b/tests/test_autopkgtest.py
index 542422b..237cc7a 100755
--- a/tests/test_autopkgtest.py
+++ b/tests/test_autopkgtest.py
@@ -114,7 +114,7 @@ class TestAutoPkgTest(TestBase):
 
         for src, (is_candidate, testmap) in expect_status.items():
             self.assertEqual(excuses_dict[src]['is-candidate'], is_candidate,
-                             src + ': ' + str(excuses_dict[src]))
+                             src + ': ' + pprint.pformat(excuses_dict[src]))
             for testsrc, archmap in testmap.items():
                 for arch, status in archmap.items():
                     self.assertEqual(excuses_dict[src]['tests']['autopkgtest'][testsrc][arch][0],