From acfd0fd9d677b1d300b227be6734ccced0594824 Mon Sep 17 00:00:00 2001 From: tadashigaki Date: Tue, 1 Oct 2019 02:44:07 +0900 Subject: [PATCH] Update doc: pytest section in setup.cfg --- doc/en/customize.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/en/customize.rst b/doc/en/customize.rst index 3471463a310..89192237354 100644 --- a/doc/en/customize.rst +++ b/doc/en/customize.rst @@ -134,10 +134,13 @@ progress output, you can write it into a configuration file: .. code-block:: ini # content of pytest.ini or tox.ini - # setup.cfg files should use [tool:pytest] section instead [pytest] addopts = -ra -q + # content of setup.cfg + [tool:pytest] + addopts = -ra -q + Alternatively, you can set a ``PYTEST_ADDOPTS`` environment variable to add command line options while the environment is in use: