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.
2 parents 2f08350 + 7445b53 commit 526f4a9Copy full SHA for 526f4a9
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
@@ -84,6 +84,11 @@ will be loaded as well.
84
:ref:`full explanation <requiring plugins in non-root conftests>`
85
in the Writing plugins section.
86
87
+.. note::
88
+ The name ``pytest_plugins`` is reserved and should not be used as a
89
+ name for a custom plugin module.
90
+
91
92
.. _`findpluginname`:
93
94
Finding out which plugins are active
0 commit comments