diff --git a/pytest_info_collector/__init__.py b/pytest_info_collector/__init__.py index 71dd169..563d54f 100644 --- a/pytest_info_collector/__init__.py +++ b/pytest_info_collector/__init__.py @@ -21,7 +21,7 @@ def pytest_terminal_summary(self, terminalreporter, exitstatus): """ Hook for printing test info at the end of the run """ - # pytest: disable=unused-argument + # pylint: disable=unused-argument terminalreporter.section("Test Information") for test, info in self._info.items(): for datum in info: diff --git a/tox.ini b/tox.ini index 94cae95..c800219 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,7 @@ envlist = py27,py33,py34,py35,py36,flake8,pylint,docs,check-manifest,checkreadme [testenv] -commands = py.test --cov={envsitepackagesdir}/pytest_info_collector -s {posargs} +commands = py.test -p pytester --cov={envsitepackagesdir}/pytest_info_collector --runpytest=subprocess {posargs} deps = -rtest-requirements.txt