Merge pull request #2128 from nicoddemus/pytest-m

Mention that Python also adds CWD to sys.path using python -m
This commit is contained in:
Bruno Oliveira 2016-12-26 20:11:59 -02:00 committed by GitHub
commit fc74eb332b
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ You can invoke testing through the Python interpreter from the command line::
python -m pytest [...] python -m pytest [...]
This is equivalent to invoking the command line script ``pytest [...]`` This is almost equivalent to invoking the command line script ``pytest [...]``
directly. directly, except that python will also add the current directory to ``sys.path``.
Getting help on version, option names, environment variables Getting help on version, option names, environment variables
-------------------------------------------------------------- --------------------------------------------------------------