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/test_base.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/test_base.py')
-rw-r--r-- | git/test/test_base.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/git/test/test_base.py b/git/test/test_base.py index 7b71a77e..c17e04e7 100644 --- a/git/test/test_base.py +++ b/git/test/test_base.py @@ -27,6 +27,10 @@ from gitdb.util import hex_to_bin class TestBase(TestBase): + def tearDown(self): + import gc + gc.collect() + type_tuples = (("blob", "8741fc1d09d61f02ffd8cded15ff603eff1ec070", "blob.py"), ("tree", "3a6a5e3eeed3723c09f1ef0399f81ed6b8d82e79", "directory"), ("commit", "4251bd59fb8e11e40c40548cba38180a9536118c", None), |