Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf0fcc07

Browse files
committed
Force GC collection
1 parentae19557 commitf0fcc07

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎git/test/test_util.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
66

77
importtempfile
8+
importgc
89

910
fromgit.test.libimport (
1011
TestBase,
@@ -76,6 +77,7 @@ def test_lock_file(self):
7677

7778
# auto-release on destruction
7879
del(other_lock_file)
80+
gc.collect()
7981
lock_file._obtain_lock_or_raise()
8082
lock_file._release_lock()
8183

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp