diff tests/test_utility_commands.py @ 832:e9af7eba88db

globally: clean up whitespace around operators and commas to conform with PEP8 Mostly autoformatted by Eclipse. A few manual corrections were performed where Eclipse's autoformatter did something non-idiomatic.
author Yonggang Luo <luoyonggang@gmail.com>
date Wed, 12 Oct 2011 15:35:25 +0800
parents caa527346a0f
children 312b37bc5e20
line wrap: on
line diff
--- a/tests/test_utility_commands.py
+++ b/tests/test_utility_commands.py
@@ -112,7 +112,7 @@ class UtilityTests(test_util.TestBase):
         self._load_fixture_and_fetch('two_heads.svndump')
         u = self.ui()
         u.pushbuffer()
-        parents = (self.repo['the_branch'].node(), revlog.nullid, )
+        parents = (self.repo['the_branch'].node(), revlog.nullid,)
         def filectxfn(repo, memctx, path):
             return context.memfilectx(path=path,
                                       data='added',
@@ -155,7 +155,7 @@ class UtilityTests(test_util.TestBase):
     def test_outgoing_output(self):
         self._load_fixture_and_fetch('two_heads.svndump')
         u = self.ui()
-        parents = (self.repo['the_branch'].node(), revlog.nullid, )
+        parents = (self.repo['the_branch'].node(), revlog.nullid,)
         def filectxfn(repo, memctx, path):
             return context.memfilectx(path=path,
                                       data='added',
@@ -185,7 +185,7 @@ class UtilityTests(test_util.TestBase):
 
     def test_rebase(self):
         self._load_fixture_and_fetch('two_revs.svndump')
-        parents = (self.repo[0].node(), revlog.nullid, )
+        parents = (self.repo[0].node(), revlog.nullid,)
         def filectxfn(repo, memctx, path):
             return context.memfilectx(path=path,
                                       data='added',