summaryrefslogtreecommitdiff
path: root/git/test/test_git.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_git.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_git.py')
-rw-r--r--git/test/test_git.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/git/test/test_git.py b/git/test/test_git.py
index 59796a3d..534539d7 100644
--- a/git/test/test_git.py
+++ b/git/test/test_git.py
@@ -40,6 +40,10 @@ class TestGit(TestBase):
super(TestGit, cls).setUpClass()
cls.git = Git(cls.rorepo.working_dir)
+ def tearDown(self):
+ import gc
+ gc.collect()
+
@patch.object(Git, 'execute')
def test_call_process_calls_execute(self, git):
git.return_value = ''