Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork966
Commit98b78d2
committed
Run
Recently, the conditional `gc.collect()` step for Python >= 3.12 in`TestSubmodule.test_rename` is often insufficient. This has mainlybeen seen in #2248. For example:https://github.com/gitpython-developers/GitPython/actions/runs/22864869684/job/66331124651?pr=2106#step:12:620In principle, there can be situations with finalizers where a cycleis only collectable due to finalization that happened due to aprevious collection. Therefore, there is occasionally a benefit tocollecting twice. This does that, in the hope that it will help.gc.collect() twice intest_rename on Python 3.121 parentc0a3d5f commit98b78d2
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1011 | 1011 | | |
1012 | 1012 | | |
1013 | 1013 | | |
| 1014 | + | |
1014 | 1015 | | |
1015 | 1016 | | |
1016 | 1017 | | |
| |||
0 commit comments
Comments
(0)