Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ clear
Method
clear
src/_pytest/pytester.py:458–459 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
456
)
457
458
def
clear(self) -> None:
459
self.calls[:] = []
460
461
462
@fixture
Callers
6
finalize
Method · 0.45
restore
Method · 0.45
add_funcarg_pseudo_fixture_def
Function · 0.45
mark_rewrite
Method · 0.45
test_make_hook_recorder
Function · 0.45
test_clear
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected