remove some unused variables
This commit is contained in:
parent
a5d36c1440
commit
b0cb867cc0
|
@ -1182,10 +1182,6 @@ class TerminalReporter:
|
||||||
def show_xfailed(lines: List[str]) -> None:
|
def show_xfailed(lines: List[str]) -> None:
|
||||||
xfailed = self.stats.get("xfailed", [])
|
xfailed = self.stats.get("xfailed", [])
|
||||||
for rep in 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)
|
color = _color_for_type.get("xfailed", _color_for_type_default)
|
||||||
line = _get_line_with_reprcrash_message(
|
line = _get_line_with_reprcrash_message(
|
||||||
self.config, rep, self._tw, {color: True}
|
self.config, rep, self._tw, {color: True}
|
||||||
|
|
Loading…
Reference in New Issue