diff tests/comprehensive/test_rebuildmeta.py @ 1436:5de6ec1d7310

test_rebuildmeta: improve error message
author Augie Fackler <raf@durin42.com>
date Sun, 05 Jun 2016 21:25:49 -0400
parents b429e97666fd
children b98ff95b5861
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: