Skip to content

Commit 37d836d

Browse files
authored
Reword docs slightly
1 parent 3eb6cad commit 37d836d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/en/customize.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ Here's a summary what ``pytest`` uses ``rootdir`` for:
3838
Important to emphasize that ``rootdir`` is **NOT** used to modify ``sys.path``/``PYTHONPATH`` or
3939
influence how modules are imported. See :ref:`pythonpath` for more details.
4040

41-
``--rootdir=path`` command line option sets a ``rootdir`` directory. Directory may be relative or absolute path.
42-
Additionally path may contain environment variables, that will be expanded.
41+
``--rootdir=path`` command-line option can be used to force a specific directory.
42+
The directory passed may contain environment variables when it is used in conjunction
43+
with ``addopts`` in a ``pytest.ini`` file.
4344

4445
Finding the ``rootdir``
4546
~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)