| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1011,6 +1011,7 @@ def test_rename(self, rwdir): | |||
| 1011 | 1011 | # garbage collector detailed in https://github.com/python/cpython/issues/97922.) | |
| 1012 | 1012 | if sys.platform == "win32" and sys.version_info >= (3, 12): | |
| 1013 | 1013 | gc.collect() | |
| 1014 | + gc.collect() # Some finalizer scenarios need two collections, at least in theory. | ||
| 1014 | 1015 | ||
| 1015 | 1016 | new_path = "renamed/myname" | |
| 1016 | 1017 | assert sm.move(new_path).name == new_path | |
| Back | FazBrowse Home | New Git URL |
0 commit comments