diff --git a/src/_pytest/terminal.py b/src/_pytest/terminal.py index cdc3cf93b..0375c4d4e 100644 --- a/src/_pytest/terminal.py +++ b/src/_pytest/terminal.py @@ -958,7 +958,9 @@ class TerminalReporter: message = message.rstrip() self._tw.line(message) self._tw.line() - self._tw.line("-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html") + self._tw.line( + "-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html" + ) def summary_passes(self) -> None: if self.config.option.tbstyle != "no":