diff tests/test_tags.py @ 851:9ce00cb1d676

Merge alternate tunnel schemes.
author Augie Fackler <durin42@gmail.com>
date Sat, 25 Feb 2012 14:51:22 -0600
parents e9af7eba88db
children 04729f3a3d17
line wrap: on
line diff
--- a/tests/test_tags.py
+++ b/tests/test_tags.py
@@ -138,9 +138,9 @@ rename a tag
        openheads = [h for h in heads if not repo[h].extra().get('close', False)]
        closedheads = set(heads) - set(openheads)
        self.assertEqual(len(openheads), 1)
-       self.assertEqual(len(closedheads), headcount-1)
+       self.assertEqual(len(closedheads), headcount - 1)
        closedheads = sorted(list(closedheads),
-                            cmp=lambda x,y: cmp(repo[x].rev(), repo[y].rev()))
+                            cmp=lambda x, y: cmp(repo[x].rev(), repo[y].rev()))
 
        # closeme has no open heads
        for h in openheads: