remove some unused variables

This commit is contained in:
Brian Okken 2023-12-22 20:44:23 -08:00
parent a5d36c1440
commit b0cb867cc0
1 changed files with 0 additions and 4 deletions

View File

@ -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}