Skip to content

Commit f502f1d

Browse files
nicoddemuspbrezina
authored andcommitted
Update src/_pytest/reports.py
1 parent 201ed9f commit f502f1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/reports.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def _get_verbose_word_with_markup(
207207
if isinstance(word, str) and isinstance(markup, Mapping):
208208
return word, markup
209209

210-
fail(
210+
fail( # pragma: no cover
211211
"pytest_report_teststatus() hook (from a plugin) returned "
212212
f"an invalid verbose value: {verbose!r}.\nExpected either a string "
213213
"or a tuple of (word, markup)."

0 commit comments

Comments
 (0)