Update src/_pytest/reports.py

This commit is contained in:
Bruno Oliveira 2024-06-27 10:49:38 -03:00 committed by Pavel Březina
parent 201ed9f6a5
commit f502f1db31
1 changed files with 1 additions and 1 deletions

View File

@ -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)."