terminal: remove unnecessary check in _get_progress_information_message
All calls to _get_progress_information_message are only done for `_show_progress_info`, which is `False` with `capture=no`.
This commit is contained in:
parent
c7c120fba6
commit
f7171034f9
|
@ -456,8 +456,6 @@ class TerminalReporter(object):
|
||||||
self._tw.write(msg + "\n", cyan=True)
|
self._tw.write(msg + "\n", cyan=True)
|
||||||
|
|
||||||
def _get_progress_information_message(self):
|
def _get_progress_information_message(self):
|
||||||
if self.config.getoption("capture", "no") == "no":
|
|
||||||
return ""
|
|
||||||
collected = self._session.testscollected
|
collected = self._session.testscollected
|
||||||
if self.config.getini("console_output_style") == "count":
|
if self.config.getini("console_output_style") == "count":
|
||||||
if collected:
|
if collected:
|
||||||
|
|
Loading…
Reference in New Issue