From 42ece0ca812e0948ba9cbd80ea2836622c2cbbf2 Mon Sep 17 00:00:00 2001 From: symonk Date: Sun, 21 Mar 2021 20:06:18 +0000 Subject: [PATCH] remove conftest note on pytest_cmdline_main, the hook is invoked --- src/_pytest/hookspec.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/_pytest/hookspec.py b/src/_pytest/hookspec.py index 7d5f767db..427d7507e 100644 --- a/src/_pytest/hookspec.py +++ b/src/_pytest/hookspec.py @@ -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.