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.
2 parents c0a3d5f + 98b78d2 commit 82b7065Copy full SHA for 82b7065
test/test_submodule.py
@@ -1011,6 +1011,7 @@ def test_rename(self, rwdir):
1011
# garbage collector detailed in https://github.com/python/cpython/issues/97922.)
1012
if sys.platform == "win32" and sys.version_info >= (3, 12):
1013
gc.collect()
1014
+ gc.collect() # Some finalizer scenarios need two collections, at least in theory.
1015
1016
new_path = "renamed/myname"
1017
assert sm.move(new_path).name == new_path
0 commit comments