Update src/_pytest/reports.py
This commit is contained in:
parent
201ed9f6a5
commit
f502f1db31
|
@ -207,7 +207,7 @@ class BaseReport:
|
||||||
if isinstance(word, str) and isinstance(markup, Mapping):
|
if isinstance(word, str) and isinstance(markup, Mapping):
|
||||||
return word, markup
|
return word, markup
|
||||||
|
|
||||||
fail(
|
fail( # pragma: no cover
|
||||||
"pytest_report_teststatus() hook (from a plugin) returned "
|
"pytest_report_teststatus() hook (from a plugin) returned "
|
||||||
f"an invalid verbose value: {verbose!r}.\nExpected either a string "
|
f"an invalid verbose value: {verbose!r}.\nExpected either a string "
|
||||||
"or a tuple of (word, markup)."
|
"or a tuple of (word, markup)."
|
||||||
|
|
Loading…
Reference in New Issue