mirror of https://github.com/pypa/pip
Merge pull request #7878 from onlinejudge95/bug/7683
Rephrases documentation
This commit is contained in:
commit
69cc55831d
|
@ -49,19 +49,19 @@ pip's tests are written using the :pypi:`pytest` test framework, :pypi:`mock`
|
|||
and :pypi:`pretend`. :pypi:`tox` is used to automate the setup and execution of
|
||||
pip's tests.
|
||||
|
||||
To run tests locally, run:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ tox -e py36
|
||||
|
||||
Generally, it can take a long time to run pip's test suite. To run tests in parallel,
|
||||
which is faster, run:
|
||||
It is preferable to run the tests in parallel for better experience during development,
|
||||
since the tests can take a long time to finish when run sequentially.
|
||||
|
||||
To run tests:
|
||||
.. code-block:: console
|
||||
|
||||
$ tox -e py36 -- -n auto
|
||||
|
||||
To run tests without parallelization, run:
|
||||
.. code-block:: console
|
||||
|
||||
$ tox -e py36
|
||||
|
||||
The example above runs tests against Python 3.6. You can also use other
|
||||
versions like ``py27`` and ``pypy3``.
|
||||
|
||||
|
|
Loading…
Reference in New Issue