From b0cb867cc0d5e4d1292b4af6a52467201966b12d Mon Sep 17 00:00:00 2001 From: Brian Okken <1568356+okken@users.noreply.github.com> Date: Fri, 22 Dec 2023 20:44:23 -0800 Subject: [PATCH] remove some unused variables --- src/_pytest/terminal.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/_pytest/terminal.py b/src/_pytest/terminal.py index 3278e88be..df90111da 100644 --- a/src/_pytest/terminal.py +++ b/src/_pytest/terminal.py @@ -1182,10 +1182,6 @@ class TerminalReporter: def show_xfailed(lines: List[str]) -> None: xfailed = self.stats.get("xfailed", []) for rep in xfailed: - verbose_word = rep._get_verbose_word(self.config) - markup_word = self._tw.markup( - verbose_word, **{_color_for_type["warnings"]: True} - ) color = _color_for_type.get("xfailed", _color_for_type_default) line = _get_line_with_reprcrash_message( self.config, rep, self._tw, {color: True}