@@ -168,7 +168,7 @@ def test_head_reset(self, rw_repo):
168168cur_head = rw_repo .head
169169old_head_commit = cur_head .commit
170170new_head_commit = cur_head .ref .commit .parents [0 ]
171- cur_head .reset (new_head_commit ,index = True )# index only
171+ cur_head .reset (new_head_commit ,index = True )# index only
172172assert cur_head .reference .commit == new_head_commit
173173
174174self .failUnlessRaises (ValueError ,cur_head .reset ,new_head_commit ,index = False ,working_tree = True )
@@ -185,7 +185,7 @@ def test_head_reset(self, rw_repo):
185185
186186# we can do a mixed reset, and then checkout from the index though
187187cur_head .reset (new_head_commit )
188- rw_repo .index .checkout (["lib" ],force = True )#
188+ rw_repo .index .checkout (["lib" ],force = True )
189189
190190# now that we have a write write repo, change the HEAD reference - its
191191# like git-reset --soft
@@ -413,7 +413,7 @@ def test_head_reset(self, rw_repo):
413413far_away_head .commit = ref .commit
414414ref .rename (ex_ref_path )
415415assert ref .path == ex_ref_path and ref .object == orig_obj
416- assert ref .rename (ref .path ).path == ex_ref_path # rename to same name
416+ assert ref .rename (ref .path ).path == ex_ref_path # rename to same name
417417
418418# create symbolic refs
419419symref_path = "symrefs/sym"