(config: Config)
| 261 | |
| 262 | |
| 263 | def getpluginversioninfo(config: Config) -> list[str]: |
| 264 | lines = [] |
| 265 | plugininfo = config.pluginmanager.list_plugin_distinfo() |
| 266 | if plugininfo: |
| 267 | lines.append("registered third-party plugins:") |
| 268 | for plugin, dist in plugininfo: |
| 269 | loc = getattr(plugin, "__file__", repr(plugin)) |
| 270 | content = f"{dist.project_name}-{dist.version} at {loc}" |
| 271 | lines.append(" " + content) |
| 272 | return lines |
| 273 | |
| 274 | |
| 275 | def pytest_report_header(config: Config) -> list[str]: |
no test coverage detected