summaryrefslogtreecommitdiff
path: root/git/test/test_repo.py
diff options
context:
space:
mode:
authorKostis Anagnostopoulos <ankostis@gmail.com>2016-09-25 18:08:16 +0200
committerKostis Anagnostopoulos <ankostis@gmail.com>2016-09-26 13:37:16 +0200
commit51bf7cbe8216d9a1da723c59b6feece0b1a34589 (patch)
tree3d64fafd239f428717565c68db234f6db610c31c /git/test/test_repo.py
parent1210ec763e1935b95a3a909c61998fbd251b7575 (diff)
downloadgitpython-51bf7cbe8216d9a1da723c59b6feece0b1a34589.tar.gz
win: GC.collect on all TC.tearDown to fix appveyor hang runs
+ Fixed the hangs at `test_git:TestGit.test_handle_process_output()`. [travisci skip]
Diffstat (limited to 'git/test/test_repo.py')
-rw-r--r--git/test/test_repo.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/git/test/test_repo.py b/git/test/test_repo.py
index d04a0f66..abc4a704 100644
--- a/git/test/test_repo.py
+++ b/git/test/test_repo.py
@@ -64,6 +64,10 @@ def flatten(lol):
class TestRepo(TestBase):
+ def tearDown(self):
+ import gc
+ gc.collect()
+
@raises(InvalidGitRepositoryError)
def test_new_should_raise_on_invalid_repo_location(self):
Repo(tempfile.gettempdir())