MCPcopy
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

finalizeMethod · 0.45
restoreMethod · 0.45
reorder_items_atscopeFunction · 0.45
finishMethod · 0.45
mark_rewriteMethod · 0.45
parseMethod · 0.45
test_make_hook_recorderFunction · 0.45
cleanup_callsMethod · 0.45
test_clearFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected