File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,9 @@ Here's a summary what ``pytest`` uses ``rootdir`` for:
3838Important to emphasize that ``rootdir `` is **NOT ** used to modify ``sys.path ``/``PYTHONPATH `` or
3939influence 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
4445Finding the ``rootdir ``
4546~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments