Skip to content

Commit 5fb1011

Browse files
tomschrscls19fr
authored andcommitted
Fix python-semver#148: Remove & replace python setup.py test (python-semver#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

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

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)