From c80d727e374321573bb00e23876a67c77ff466e3 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 4 Jan 2015 13:48:29 +0100 Subject: 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 --- git/test/test_refs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git/test/test_refs.py') 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 -- cgit v1.2.1