Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ clear
Method
clear
src/_pytest/pytester.py:456–457 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
454
)
455
456
def
clear(self) -> None:
457
self.calls[:] = []
458
459
460
@fixture
Callers
11
finalize
Method · 0.45
restore
Method · 0.45
reorder_items_atscope
Function · 0.45
finish
Method · 0.45
pytest_collection_finish
Method · 0.45
mark_rewrite
Method · 0.45
parse
Method · 0.45
test_make_hook_recorder
Function · 0.45
cleanup_calls
Method · 0.45
test_clear
Function · 0.45
test_clear_for_call_stage
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected