(improve doc): add command to run test in parallel (#7189)

This commit is contained in:
Shovan Maity 2019-10-16 02:20:38 +05:30 committed by Xavier Fernandez
parent ba63e01bb6
commit 852d996c40
1 changed files with 7 additions and 0 deletions

View File

@ -40,6 +40,13 @@ To run tests locally, run:
$ 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
The example above runs tests against Python 3.6. You can also use other
versions like ``py27`` and ``pypy3``.