@@ -168,7 +168,7 @@ def test_head_reset(self, rw_repo):
168168 cur_head = rw_repo .head
169169 old_head_commit = cur_head .commit
170170 new_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
172172 assert cur_head .reference .commit == new_head_commit
173173
174174 self .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
187187 cur_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):
413413 far_away_head .commit = ref .commit
414414 ref .rename (ex_ref_path )
415415 assert 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
419419 symref_path = "symrefs/sym"
0 commit comments