SIGN IN SIGN UP

gh-118413: Fix test_release_task_refs on free-threaded build (#118494)

The `time.sleep()` call should happen before the GC to give the worker
threads time to clean-up their remaining references to objs.
Additionally, use `support.gc_collect()` instead of `gc.collect()`
just in case the extra GC calls matter.
S
Sam Gross committed
83c51da6cebdced80ebc59de70e8844244de7298
Parent: b28a333
Committed by GitHub <noreply@github.com> on 5/2/2024, 5:41:15 PM