aboutsummaryrefslogtreecommitdiff
path: root/git/test/test_refs.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-04 13:48:29 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-04 13:48:29 +0100
commitc80d727e374321573bb00e23876a67c77ff466e3 (patch)
tree7590d6ae544eac56e83639d27e1f9013b38d8a4b /git/test/test_refs.py
parent965a08c3f9f2fbd62691d533425c699c943cb865 (diff)
downloadGitPython-c80d727e374321573bb00e23876a67c77ff466e3.tar.gz
GitPython-c80d727e374321573bb00e23876a67c77ff466e3.zip
Bumped version, updated changelog, reduced code smell
There is more work to do though, as many imports are still incorrect. Also, there are still print statements
Diffstat (limited to 'git/test/test_refs.py')
-rw-r--r--git/test/test_refs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/test/test_refs.py b/git/test/test_refs.py
index c4f7077b..4df3fa8a 100644
--- a/git/test/test_refs.py
+++ b/git/test/test_refs.py
@@ -155,10 +155,10 @@ class TestRefs(TestBase):
assert len(types_found) >= 3
def test_is_valid(self):
- assert Reference(self.rorepo, 'refs/doesnt/exist').is_valid() == False
+ assert not Reference(self.rorepo, 'refs/doesnt/exist').is_valid()
assert self.rorepo.head.is_valid()
assert self.rorepo.head.reference.is_valid()
- assert SymbolicReference(self.rorepo, 'hellothere').is_valid() == False
+ assert not SymbolicReference(self.rorepo, 'hellothere').is_valid()
def test_orig_head(self):
assert type(self.rorepo.head.orig_head()) == SymbolicReference