Skip to content

Commit 7dfaaa1

Browse files
authored
Merge pull request #8476 from symonk/cmdline-main-docs
Remove note on conftest.py files as part of pytest_cmdline_main hookspec
2 parents f28421c + 42ece0c commit 7dfaaa1

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)