We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pytest_plugins
1 parent 36f6687 commit 7445b53Copy full SHA for 7445b53
changelog/3899.doc.rst
@@ -0,0 +1 @@
1
+Add note to ``plugins.rst`` that ``pytest_plugins`` should not be used as a name for a user module containing plugins.
doc/en/plugins.rst
@@ -86,6 +86,11 @@ which will import the specified module as a ``pytest`` plugin.
86
:ref:`full explanation <requiring plugins in non-root conftests>`
87
in the Writing plugins section.
88
89
+.. note::
90
+ The name ``pytest_plugins`` is reserved and should not be used as a
91
+ name for a custom plugin module.
92
+
93
94
.. _`findpluginname`:
95
96
Finding out which plugins are active
0 commit comments