Skip to content

Commit 9a4c0b9

Browse files
authored
Update doc: pytest section in setup.cfg (#5894)
Update doc: pytest section in setup.cfg
2 parents 88434f1 + acfd0fd commit 9a4c0b9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/en/customize.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,13 @@ progress output, you can write it into a configuration file:
134134
.. code-block:: ini
135135
136136
# content of pytest.ini or tox.ini
137-
# setup.cfg files should use [tool:pytest] section instead
138137
[pytest]
139138
addopts = -ra -q
140139
140+
# content of setup.cfg
141+
[tool:pytest]
142+
addopts = -ra -q
143+
141144
Alternatively, you can set a ``PYTEST_ADDOPTS`` environment variable to add command
142145
line options while the environment is in use:
143146

0 commit comments

Comments
 (0)