# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1246186252 -7200 # Node ID 066453cf2014c142a109d271178629045631e91f # Parent 200770235bf08d54516772f4c7c767b5f150e5fb test_tags: improve test output. diff --git a/tests/test_tags.py b/tests/test_tags.py --- a/tests/test_tags.py +++ b/tests/test_tags.py @@ -73,7 +73,9 @@ rename a tag stupid=stupid) branches = set(repo[h] for h in repo.heads()) self.assert_('dummy' not in branches) - self.assertEqual(repo['dummy'], repo['tip'].parents()[0]) + self.assertEqual(repo['dummy'], repo['tip'].parents()[0], + '%r != %r[0]' % (repo['dummy'], + repo['tip'].parents())) extra = repo['tip'].extra().copy() extra.pop('convert_revision', None) self.assertEqual(extra, {'branch': 'dummy', 'close': '1'})