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_remote.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_remote.py')
-rw-r--r-- | git/test/test_remote.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/git/test/test_remote.py b/git/test/test_remote.py index 3c2e622d..70c4a596 100644 --- a/git/test/test_remote.py +++ b/git/test/test_remote.py @@ -101,6 +101,10 @@ class TestRemoteProgress(RemoteProgress): class TestRemote(TestBase): + def tearDown(self): + import gc + gc.collect() + def _print_fetchhead(self, repo): fp = open(os.path.join(repo.git_dir, "FETCH_HEAD")) fp.close() |