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,
|
||||
which_reports: str,
|
||||
sep_title: str,
|
||||
*,
|
||||
style: str,
|
||||
needed_opt: Optional[str] = None,
|
||||
style: Optional[str] = None,
|
||||
) -> None:
|
||||
if style != "no":
|
||||
if not needed_opt or self.hasopt(needed_opt):
|
||||
|
|
Loading…
Reference in New Issue