changeset 1436:5de6ec1d7310

test_rebuildmeta: improve error message
author Augie Fackler <raf@durin42.com>
date Sun, 05 Jun 2016 21:25:49 -0400
parents 18a961672a72
children 43df01d36f22
files tests/comprehensive/test_rebuildmeta.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/comprehensive/test_rebuildmeta.py
+++ b/tests/comprehensive/test_rebuildmeta.py
@@ -135,7 +135,8 @@ def _run_assertions(self, name, single, 
                 'old %d new %d, case %r %r %r' % (
                     old, new, name, self.stupid, single))
             continue
-        self.assertEqual(old, new, tf + ' differs')
+        self.assertEqual(
+            old, new, '%s differs old: %r new %r'% (tf, old, new))
         try:
           self.assertEqual(src.branchmap(), dest.branchmap())
         except AttributeError: