remove conftest note on pytest_cmdline_main, the hook is invoked

This commit is contained in:
symonk 2021-03-21 20:06:18 +00:00
parent 35df3e68d5
commit 42ece0ca81
1 changed files with 0 additions and 3 deletions

View File

@ -176,9 +176,6 @@ def pytest_cmdline_main(config: "Config") -> Optional[Union["ExitCode", int]]:
"""Called for performing the main command line action. The default
implementation will invoke the configure hooks and runtest_mainloop.
.. note::
This hook will not be called for ``conftest.py`` files, only for setuptools plugins.
Stops at first non-None result, see :ref:`firstresult`.
:param _pytest.config.Config config: The pytest config object.