diff options
author | Daniele Esposti <daniele.esposti@gmail.com> | 2016-09-19 23:32:39 +0100 |
---|---|---|
committer | Daniele Esposti <daniele.esposti@gmail.com> | 2016-09-19 23:32:39 +0100 |
commit | f0fcc072b37d6e773e18ea561ebce8ccba2ba19c (patch) | |
tree | b88076bb1e53eb2e2d244cd0824cd95560738a3d | |
parent | ae19557f8b6e5387b7275d46621535b24ace00d8 (diff) | |
download | gitpython-f0fcc072b37d6e773e18ea561ebce8ccba2ba19c.tar.gz |
Force GC collection
-rw-r--r-- | git/test/test_util.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git/test/test_util.py b/git/test/test_util.py index c6ca6920..3a67c04b 100644 --- a/git/test/test_util.py +++ b/git/test/test_util.py @@ -5,6 +5,7 @@ # the BSD License: http://www.opensource.org/licenses/bsd-license.php import tempfile +import gc from git.test.lib import ( TestBase, @@ -76,6 +77,7 @@ class TestUtils(TestBase): # auto-release on destruction del(other_lock_file) + gc.collect() lock_file._obtain_lock_or_raise() lock_file._release_lock() |