Rephrases documentation

This commit is contained in:
onlinejudge95 2020-03-21 12:49:15 +05:30
parent f6b5b40549
commit e42929dcf6
1 changed files with 8 additions and 8 deletions

View File

@ -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.
It is preferable to run the tests in **parallel** for better user experience during development,
as the test suite is very extensive. WIthout the `-n auto` your tests would be running sequentially,
causing more time to finish.
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:
.. code-block:: console
$ tox -e py36 -- -n auto
For running tests sequentially remove the `-n` flag.
.. 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``.