diff options
Diffstat (limited to 'git/test/test_refs.py')
| -rw-r--r-- | git/test/test_refs.py | 4 | 
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 | 
