We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae19557 commit f0fcc07Copy full SHA for f0fcc07
git/test/test_util.py
@@ -5,6 +5,7 @@
5
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
6
7
import tempfile
8
+import gc
9
10
from git.test.lib import (
11
TestBase,
@@ -76,6 +77,7 @@ def test_lock_file(self):
76
77
78
# auto-release on destruction
79
del(other_lock_file)
80
+ gc.collect()
81
lock_file._obtain_lock_or_raise()
82
lock_file._release_lock()
83
0 commit comments