Skip to content

Commit 80c0302

Browse files
committed
doc: mention PYTEST_DISABLE_PLUGIN_AUTOLOAD in writing_plugins.rst
1 parent d9a2fd0 commit 80c0302

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: doc/en/how-to/writing_plugins.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ Plugin discovery order at tool startup
4343
and loading the specified plugin. This happens before normal command-line parsing.
4444

4545
4. by loading all plugins registered through installed third-party package
46-
:ref:`entry points <pip-installable plugins>`.
46+
:ref:`entry points <pip-installable plugins>`, unless the
47+
:envvar:`PYTEST_DISABLE_PLUGIN_AUTOLOAD` environment variable is set.
4748

4849
5. by loading all plugins specified through the :envvar:`PYTEST_PLUGINS` environment variable.
4950

0 commit comments

Comments
 (0)