Reword docs slightly
This commit is contained in:
parent
3eb6cad222
commit
37d836d754
|
@ -38,8 +38,9 @@ Here's a summary what ``pytest`` uses ``rootdir`` for:
|
||||||
Important to emphasize that ``rootdir`` is **NOT** used to modify ``sys.path``/``PYTHONPATH`` or
|
Important to emphasize that ``rootdir`` is **NOT** used to modify ``sys.path``/``PYTHONPATH`` or
|
||||||
influence how modules are imported. See :ref:`pythonpath` for more details.
|
influence how modules are imported. See :ref:`pythonpath` for more details.
|
||||||
|
|
||||||
``--rootdir=path`` command line option sets a ``rootdir`` directory. Directory may be relative or absolute path.
|
``--rootdir=path`` command-line option can be used to force a specific directory.
|
||||||
Additionally path may contain environment variables, that will be expanded.
|
The directory passed may contain environment variables when it is used in conjunction
|
||||||
|
with ``addopts`` in a ``pytest.ini`` file.
|
||||||
|
|
||||||
Finding the ``rootdir``
|
Finding the ``rootdir``
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
Loading…
Reference in New Issue