From e3e8ce69bec72277354eff252064a59f515d718a Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 4 Jan 2015 10:24:10 +0100 Subject: Somemore debugging for rev-parse issue --- git/test/test_repo.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'git/test/test_repo.py') 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: -- cgit v1.2.1