Skip to content

Commit 81c9bdc

Browse files
committed
Mention that Python also adds CWD to sys.path using python -m
1 parent da40bcf commit 81c9bdc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/en/usage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ You can invoke testing through the Python interpreter from the command line::
1616

1717
python -m pytest [...]
1818

19-
This is equivalent to invoking the command line script ``pytest [...]``
20-
directly.
19+
This is almost equivalent to invoking the command line script ``pytest [...]``
20+
directly, except that python will also add the current directory to ``sys.path``.
2121

2222
Getting help on version, option names, environment variables
2323
--------------------------------------------------------------

0 commit comments

Comments
 (0)