Skip to content

Commit

Permalink
Fix another bug in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tmr232 committed Apr 21, 2017
1 parent 8123183 commit 44abaf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_refs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 44abaf3

Please sign in to comment.