Skip to content

Commit 5dc5880

Browse files
docs: update pytest.ini addopts example to use separate -p entries (#13529) (#13532)
(cherry picked from commit 40a1713) Co-authored-by: Iwithyou2025 <iwithyou2025@gmail.com>
1 parent d0c7ed0 commit 5dc5880

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/en/how-to/plugins.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,10 @@ manually specify each plugin with ``-p`` or :envvar:`PYTEST_PLUGINS`, you can us
154154
.. code-block:: ini
155155
156156
[pytest]
157-
addopts = --disable-plugin-autoload -p NAME,NAME2
157+
addopts =
158+
--disable-plugin-autoload
159+
-p NAME
160+
-p NAME2
158161
159162
.. versionadded:: 8.4
160163

0 commit comments

Comments
 (0)