Skip to content

Commit 4ee830d

Browse files
pbrezinanicoddemus
andauthored
Update src/_pytest/terminal.py
Co-authored-by: Bruno Oliveira <[email protected]>
1 parent c980d64 commit 4ee830d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/terminal.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def __init__(self, config: Config, file: TextIO | None = None) -> None:
379379
self._screen_width = self._tw.fullwidth
380380
self.currentfspath: None | Path | str | int = None
381381
self.reportchars = getreportopt(config)
382-
self.foldskipped = True if config.option.foldskipped == "yes" else False
382+
self.foldskipped = config.option.foldskipped == "yes"
383383
self.hasmarkup = self._tw.hasmarkup
384384
self.isatty = file.isatty()
385385
self._progress_nodeids_reported: set[str] = set()

0 commit comments

Comments
 (0)