diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-04 10:24:10 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-04 10:24:10 +0100 |
commit | e3e8ce69bec72277354eff252064a59f515d718a (patch) | |
tree | a78cd697953859c3074bbe51490a768450ebccb8 /git/test/test_repo.py | |
parent | 17f245cad19bf77a5a5fecdee6a41217cc128a73 (diff) | |
download | gitpython-e3e8ce69bec72277354eff252064a59f515d718a.tar.gz |
Somemore debugging for rev-parse issue
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: |