Reword docs slightly

This commit is contained in:
Bruno Oliveira 2018-02-01 19:34:15 -02:00 committed by GitHub
parent 3eb6cad222
commit 37d836d754
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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
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.
Additionally path may contain environment variables, that will be expanded.
``--rootdir=path`` command-line option can be used to force a specific directory.
The directory passed may contain environment variables when it is used in conjunction
with ``addopts`` in a ``pytest.ini`` file.
Finding the ``rootdir``
~~~~~~~~~~~~~~~~~~~~~~~