From 44abaf3658c16b9369a13a13210ddd935b2373e0 Mon Sep 17 00:00:00 2001 From: Tamir Bahar Date: Fri, 21 Apr 2017 11:12:09 +0300 Subject: [PATCH] Fix another bug in the tests --- test/test_refs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_refs.py b/test/test_refs.py index 20aaf3cb4..18c2b568a 100644 --- a/test/test_refs.py +++ b/test/test_refs.py @@ -75,7 +75,7 @@ def test_lookup_reference(self): self.assertRaises(KeyError, lambda: self.repo.references[refname]) # Return None ? - self.assertIsNone(self.repo.references[refname]) + self.assertIsNone(self.repo.references.get(refname)) # Test a lookup reference = repo.references.get('refs/heads/master')