Fix test_weakkeycache on PyPy: run gc.collect()
One gc.collect() seems to be enough, but it's more reliable to run it several times (at most 100), until all objects are collected.
Showing
想要评论请 注册 或 登录
One gc.collect() seems to be enough, but it's more reliable to run it several times (at most 100), until all objects are collected.