Switch the order of the commands back and update the text
As suggested during review
This commit is contained in:
parent
ed57b8e08a
commit
a9608d54e0
|
@ -74,9 +74,11 @@ This is also discussed in details in :ref:`test discovery`.
|
|||
|
||||
.. _`pytest vs python -m pytest`:
|
||||
|
||||
Invoking ``python -m pytest`` versus ``pytest``
|
||||
Invoking ``pytest`` versus ``python -m pytest``
|
||||
-----------------------------------------------
|
||||
|
||||
Running pytest with ``python -m pytest [...]`` instead of ``pytest [...]`` yields nearly
|
||||
equivalent behaviour, except that the former call will add the current directory to ``sys.path``.
|
||||
Running pytest with ``pytest [...]`` instead of ``python -m pytest [...]`` yields nearly
|
||||
equivalent behaviour, except that the latter will add the current directory to ``sys.path``, which
|
||||
is standard ``python`` behavior.
|
||||
|
||||
See also :ref:`cmdline`.
|
||||
|
|
Loading…
Reference in New Issue