Skip to content

Commit

Permalink
Use classic console output when -s is used
Browse files Browse the repository at this point in the history
  • Loading branch information
segevfiner committed Dec 16, 2017
1 parent db4df58 commit a7fafbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _pytest/terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ def __init__(self, config, file=None):
self.hasmarkup = self._tw.hasmarkup
self.isatty = file.isatty()
self._progress_items_reported = 0
self._show_progress_info = self.config.getini('console_output_style') == 'progress'
self._show_progress_info = (self.config.getoption('capture') != 'no' and
self.config.getini('console_output_style') == 'progress')

def hasopt(self, char):
char = {'xfailed': 'x', 'skipped': 's'}.get(char, char)
Expand Down

0 comments on commit a7fafbf

Please sign in to comment.