MCPcopy
hub / github.com/pytest-dev/pytest / reset

Method reset

src/_pytest/logging.py:401–403  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

399 super().emit(record)
400
401 def reset(self) -> None:
402 self.records = []
403 self.stream = StringIO()
404
405 def clear(self) -> None:
406 self.records.clear()

Callers 3

_runtest_forMethod · 0.45
post_mortemFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected