Update src/_pytest/terminal.py
Co-authored-by: Bruno Oliveira <bruno@soliv.dev>
This commit is contained in:
parent
832221d827
commit
a979073f6c
|
@ -1105,8 +1105,9 @@ class TerminalReporter:
|
||||||
self,
|
self,
|
||||||
which_reports: str,
|
which_reports: str,
|
||||||
sep_title: str,
|
sep_title: str,
|
||||||
needed_opt: Optional[str] = None,
|
*,
|
||||||
style: Optional[str] = None,
|
style: str,
|
||||||
|
needed_opt: Optional[str] = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
if style != "no":
|
if style != "no":
|
||||||
if not needed_opt or self.hasopt(needed_opt):
|
if not needed_opt or self.hasopt(needed_opt):
|
||||||
|
|
Loading…
Reference in New Issue