diff options
Diffstat (limited to 'git/test/test_repo.py')
-rw-r--r-- | git/test/test_repo.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/git/test/test_repo.py b/git/test/test_repo.py index 328995a2..64525ed1 100644 --- a/git/test/test_repo.py +++ b/git/test/test_repo.py @@ -581,15 +581,17 @@ class TestRepo(TestBase): assert rev_parse(refspec + ":CHANGES").type == 'blob' # END operate on non-detached head - # the last position - assert rev_parse('@{1}') != head.commit - # position doesn't exist self.failUnlessRaises(IndexError, rev_parse, '@{10000}') # currently, nothing more is supported self.failUnlessRaises(NotImplementedError, rev_parse, "@{1 week ago}") + # the last position + # For some reason, this test fails on travis - lets gather more information + print self.rorepo + assert rev_parse('@{1}') != head.commit + def test_repo_odbtype(self): target_type = GitDB if sys.version_info[1] < 5: |