summaryrefslogtreecommitdiff
path: root/git/test/test_refs.py
diff options
context:
space:
mode:
authorAntoine Musso <hashar@free.fr>2014-11-16 21:06:57 +0100
committerAntoine Musso <hashar@free.fr>2014-11-16 21:06:57 +0100
commitbed3b0989730cdc3f513884325f1447eb378aaee (patch)
treedced9fc6823d9a7b99e8b8b47e31d25e49ed7d26 /git/test/test_refs.py
parent614907b7445e2ed8584c1c37df7e466e3b56170f (diff)
downloadgitpython-bed3b0989730cdc3f513884325f1447eb378aaee.tar.gz
pep8 linting (double spaces before comment)
E261 at least two spaces before inline comment
Diffstat (limited to 'git/test/test_refs.py')
-rw-r--r--git/test/test_refs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/git/test/test_refs.py b/git/test/test_refs.py
index 5658181d..f4f8b9d8 100644
--- a/git/test/test_refs.py
+++ b/git/test/test_refs.py
@@ -168,7 +168,7 @@ class TestRefs(TestBase):
cur_head = rw_repo.head
old_head_commit = cur_head.commit
new_head_commit = cur_head.ref.commit.parents[0]
- cur_head.reset(new_head_commit, index=True) # index only
+ cur_head.reset(new_head_commit, index=True) # index only
assert cur_head.reference.commit == new_head_commit
self.failUnlessRaises(ValueError, cur_head.reset, new_head_commit, index=False, working_tree=True)
@@ -185,7 +185,7 @@ class TestRefs(TestBase):
# we can do a mixed reset, and then checkout from the index though
cur_head.reset(new_head_commit)
- rw_repo.index.checkout(["lib"], force=True)#
+ rw_repo.index.checkout(["lib"], force=True)
# now that we have a write write repo, change the HEAD reference - its
# like git-reset --soft
@@ -413,7 +413,7 @@ class TestRefs(TestBase):
far_away_head.commit = ref.commit
ref.rename(ex_ref_path)
assert ref.path == ex_ref_path and ref.object == orig_obj
- assert ref.rename(ref.path).path == ex_ref_path # rename to same name
+ assert ref.rename(ref.path).path == ex_ref_path # rename to same name
# create symbolic refs
symref_path = "symrefs/sym"