(config: Config)
| 289 | |
| 290 | |
| 291 | def pytest_configure(config: Config) -> None: |
| 292 | reporter = TerminalReporter(config, sys.stdout) |
| 293 | config.pluginmanager.register(reporter, "terminalreporter") |
| 294 | if config.option.debug or config.option.traceconfig: |
| 295 | |
| 296 | def mywriter(tags, args): |
| 297 | msg = " ".join(map(str, args)) |
| 298 | reporter.write_line("[traceconfig] " + msg) |
| 299 | |
| 300 | config.trace.root.setprocessor("pytest:config", mywriter) |
| 301 | |
| 302 | # See terminalprogress.py. |
| 303 | # On Windows it's safe to load by default. |
| 304 | if sys.platform == "win32": |
| 305 | config.pluginmanager.import_plugin("terminalprogress") |
| 306 | |
| 307 | |
| 308 | def getreportopt(config: Config) -> str: |
nothing calls this directly
no test coverage detected