-
-
Notifications
You must be signed in to change notification settings - Fork 954
Commit b66be7c
committed
Replace xfail with gc.collect in TestSubmodule.test_rename
Like the xfail was, this is conditional, being done only in the
specific situation the PermissionError occurs. Besides that it does
not always run even on Windows (only in 3.12 and later), this
resembles various other conditional and non-conditional gc.collect
calls.
It had previously appeared to me that two calls to gc.collect were
required, but I am unable to reproduce that. It may have been
specific to how I was running it on my system at that time. The
need for only one call may have been brought about by changes to
the code in the mean time, but I have tested that only one call
appears required even without the changes in #1765.1 parent f62df52 commit b66be7c
1 file changed
+6
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
958 | 958 |
| |
959 | 959 |
| |
960 | 960 |
| |
961 | + | ||
962 | + | ||
963 | + | ||
964 | + | ||
965 | + | ||
966 | + | ||
961 | 967 |
| |
962 | 968 |
| |
963 | 969 |
| |
|
0 commit comments