Skip to content

Commit 42ece0c

Browse files
committed
remove conftest note on pytest_cmdline_main, the hook is invoked
1 parent 35df3e6 commit 42ece0c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/_pytest/hookspec.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,6 @@ def pytest_cmdline_main(config: "Config") -> Optional[Union["ExitCode", int]]:
176176
"""Called for performing the main command line action. The default
177177
implementation will invoke the configure hooks and runtest_mainloop.
178178
179-
.. note::
180-
This hook will not be called for ``conftest.py`` files, only for setuptools plugins.
181-
182179
Stops at first non-None result, see :ref:`firstresult`.
183180
184181
:param _pytest.config.Config config: The pytest config object.

0 commit comments

Comments
 (0)