Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ gc_collect_harder
Function
gc_collect_harder
src/_pytest/unraisableexception.py:31–33 ·
view source on GitHub ↗
(iterations: int)
Source
from the content-addressed store, hash-verified
29
30
31
def
gc_collect_harder(iterations: int) -> None:
32
for
_ in range(iterations):
33
gc.collect()
34
35
36
class
UnraisableMeta(NamedTuple):
Callers
2
cleanup
Function · 0.85
pytest_unconfigure
Function · 0.85
Calls
1
collect
Method · 0.45
Tested by
no test coverage detected