diff options
author | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-09-25 18:08:16 +0200 |
---|---|---|
committer | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-09-26 13:37:16 +0200 |
commit | 51bf7cbe8216d9a1da723c59b6feece0b1a34589 (patch) | |
tree | 3d64fafd239f428717565c68db234f6db610c31c /git/test/lib/helper.py | |
parent | 1210ec763e1935b95a3a909c61998fbd251b7575 (diff) | |
download | gitpython-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/lib/helper.py')
-rw-r--r-- | git/test/lib/helper.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py index 8be2881c..9488005f 100644 --- a/git/test/lib/helper.py +++ b/git/test/lib/helper.py @@ -299,6 +299,8 @@ class TestBase(TestCase): Dynamically add a read-only repository to our actual type. This way each test type has its own repository """ + import gc + gc.collect() cls.rorepo = Repo(GIT_REPO) @classmethod |