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:
Daniel Hahler 2019-03-20 03:04:41 +01:00
parent c7c120fba6
commit f7171034f9
1 changed files with 0 additions and 2 deletions

View File

@ -456,8 +456,6 @@ class TerminalReporter(object):
self._tw.write(msg + "\n", cyan=True)
def _get_progress_information_message(self):
if self.config.getoption("capture", "no") == "no":
return ""
collected = self._session.testscollected
if self.config.getini("console_output_style") == "count":
if collected: