From f502f1db31ec135b8b3aa73931a12e13d8d88ed7 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Thu, 27 Jun 2024 10:49:38 -0300 Subject: [PATCH] Update src/_pytest/reports.py --- src/_pytest/reports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pytest/reports.py b/src/_pytest/reports.py index f23ee0831..77cbf773e 100644 --- a/src/_pytest/reports.py +++ b/src/_pytest/reports.py @@ -207,7 +207,7 @@ class BaseReport: if isinstance(word, str) and isinstance(markup, Mapping): return word, markup - fail( + fail( # pragma: no cover "pytest_report_teststatus() hook (from a plugin) returned " f"an invalid verbose value: {verbose!r}.\nExpected either a string " "or a tuple of (word, markup)."