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

Method pytest_collection

src/_pytest/terminal.py:793–798  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

791 return self._tw.width_of_current_line
792
793 def pytest_collection(self) -> None:
794 if self.isatty():
795 if self.config.option.verbose >= 0:
796 self.write("collecting ... ", flush=True, bold=True)
797 elif self.config.option.verbose >= 1:
798 self.write("collecting ... ", flush=True, bold=True)
799
800 def pytest_collectreport(self, report: CollectReport) -> None:
801 if report.failed:

Callers

nothing calls this directly

Calls 2

writeMethod · 0.95
isattyMethod · 0.45

Tested by

no test coverage detected