Remove config paramter from pytest_terminal_summary as discussed during review

This commit is contained in:
Bruno Oliveira
2018-02-27 07:26:25 -03:00
parent 4e405dd9f9
commit 94050a8aaf
2 changed files with 1 additions and 3 deletions
+1 -2
View File
@@ -489,10 +489,9 @@ def pytest_report_teststatus(report):
Stops at first non-None result, see :ref:`firstresult` """
def pytest_terminal_summary(config, terminalreporter, exitstatus):
def pytest_terminal_summary(terminalreporter, exitstatus):
"""Add a section to terminal summary reporting.
:param _pytest.config.Config config: pytest config object
:param _pytest.terminal.TerminalReporter terminalreporter: the internal terminal reporter object
:param int exitstatus: the exit status that will be reported back to the OS