Skip to content

Commit 5fb1011

Browse files
tomschrscls19fr
authored andcommitted
Fix #148: Remove & replace python setup.py test (#149)
As tox discouraged using "python setup.py test", we shouldn't recommend that in our documentation. Replacing it with "tox".
1 parent 7e48417 commit 5fb1011

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/development.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,17 @@ We recommend to use the following workflow if you would like to contribute:
4949
4. Work on your branch. Commit your work. Don't forget to write test cases
5050
for your new feature.
5151

52-
5. Run the test suite. You have the following options:
52+
5. Run the test suite. You can decide to run the complete test suite or
53+
only part of it:
5354

54-
* To run a complete test use the ``setup.py`` script (shown for Python 3)::
55+
* To run all tests, use::
5556

56-
$ python3 setup.py test
57+
$ tox
5758

58-
This may create some errors as you probably do not have all Python
59-
versions installed on your system. To restrict it to only installed
60-
version (probably 2.7 and 3.x), pass this options::
59+
If you have not all Python interpreters installed on your system
60+
it will probably give you some errors. To avoid such errors, use::
6161

62-
$ python3 setup.py test -a --skip-missing-interpreters
62+
$ tox --skip-missing-interpreters
6363

6464
* To run a test for a specific Python version, use the
6565
:command:`tox` command, for example, for Python 3.6::

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy