Skip to content

Commit fc94b89

Browse files
committed
And finally, PY3 support should be restored.
Forgot to fix the test, which used the same broken version_info condition
1 parent e40ad63 commit fc94b89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/test/test_repo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ def test_rev_parse(self):
620620

621621
def test_repo_odbtype(self):
622622
target_type = GitDB
623-
if sys.version_info[1] < 5:
623+
if sys.version_info[:2] < (2, 5):
624624
target_type = GitCmdObjectDB
625625
assert isinstance(self.rorepo.odb, target_type)
626626

0 commit comments

Comments
 (0)