summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-08 12:29:57 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-08 12:29:57 +0100
commitfc94b89dabd9df49631cbf6b18800325f3521864 (patch)
tree17694e19aadb5295a4a2848509d60822d8280a38
parente40ad6369bc74d01af4dc41d3a9b8e25ac2aa01e (diff)
downloadgitpython-fc94b89dabd9df49631cbf6b18800325f3521864.tar.gz
And finally, PY3 support should be restored.
Forgot to fix the test, which used the same broken version_info condition
-rw-r--r--git/test/test_repo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_repo.py b/git/test/test_repo.py
index 9755ea1e..9d9f727f 100644
--- a/git/test/test_repo.py
+++ b/git/test/test_repo.py
@@ -620,7 +620,7 @@ class TestRepo(TestBase):
def test_repo_odbtype(self):
target_type = GitDB
- if sys.version_info[1] < 5:
+ if sys.version_info[:2] < (2, 5):
target_type = GitCmdObjectDB
assert isinstance(self.rorepo.odb, target_type)