@@ -168,7 +168,7 @@ def test_head_reset(self, rw_repo):
168
168
cur_head = rw_repo .head
169
169
old_head_commit = cur_head .commit
170
170
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
172
172
assert cur_head .reference .commit == new_head_commit
173
173
174
174
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):
185
185
186
186
# we can do a mixed reset, and then checkout from the index though
187
187
cur_head .reset (new_head_commit )
188
- rw_repo .index .checkout (["lib" ], force = True )#
188
+ rw_repo .index .checkout (["lib" ], force = True )
189
189
190
190
# now that we have a write write repo, change the HEAD reference - its
191
191
# like git-reset --soft
@@ -413,7 +413,7 @@ def test_head_reset(self, rw_repo):
413
413
far_away_head .commit = ref .commit
414
414
ref .rename (ex_ref_path )
415
415
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
417
417
418
418
# create symbolic refs
419
419
symref_path = "symrefs/sym"
0 commit comments