summaryrefslogtreecommitdiff
path: root/git/test/test_repo.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-08-22 16:31:31 +0200
committerSebastian Thiel <byronimo@gmail.com>2015-08-22 16:32:55 +0200
commit6eb3af27464ffba83e3478b0a0c8b1f9ff190889 (patch)
tree7d8674cb4756dac37a4cec2f7baaf240c32db1c5 /git/test/test_repo.py
parent1d768f67bd49f28fd2e626f3a8c12bd28ae5ce48 (diff)
downloadgitpython-6eb3af27464ffba83e3478b0a0c8b1f9ff190889.tar.gz
fix(repo): use GitCmdObjectDB by default
This should fix resource leaking issues once and for all. Related #304
Diffstat (limited to 'git/test/test_repo.py')
-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 bc9f3e92..c95592ea 100644
--- a/git/test/test_repo.py
+++ b/git/test/test_repo.py
@@ -657,7 +657,7 @@ class TestRepo(TestBase):
assert rev_parse('@{1}') != head.commit
def test_repo_odbtype(self):
- target_type = GitDB
+ target_type = GitCmdObjectDB
if sys.version_info[:2] < (2, 5):
target_type = GitCmdObjectDB
assert isinstance(self.rorepo.odb, target_type)