Skip to content

Commit 40a1713

Browse files
authored
docs: update pytest.ini addopts example to use separate -p entries (#13529)
1 parent 01dce85 commit 40a1713

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)