From 468beefdb8bbd6774696af4c6772d558ca97e9fd Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 8 Nov 2021 18:41:07 +0100 Subject: [PATCH] Make flake8 happy --- src/_pytest/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pytest/python.py b/src/_pytest/python.py index 4ebf6e726..e48df039c 100644 --- a/src/_pytest/python.py +++ b/src/_pytest/python.py @@ -1569,7 +1569,7 @@ def _showfixtures_main(config: Config, session: Session) -> None: if doc: write_docstring(tw, doc.split("\n\n")[0] if verbose <= 0 else doc) else: - tw.line(f" no docstring available", red=True) + tw.line(" no docstring available", red=True) tw.line()