Skip to content

Commit 6d66d16

Browse files
authored
Merge pull request #12623 from bluetech/doc-disable-plugin-autoload
doc: mention `PYTEST_DISABLE_PLUGIN_AUTOLOAD` in writing_plugins.rst
2 parents d9a2fd0 + 80c0302 commit 6d66d16

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)