Skip to content

Commit e8b6fd2

Browse files
committed
update tox to only use default python version
1 parent d6201d9 commit e8b6fd2

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

docs/source/developers.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,22 +69,24 @@ The test suite for virtualenvwrapper uses shunit2_ and tox_. The
6969
shunit2 source is included in the ``tests`` directory, but tox must be
7070
installed separately (``pip install tox``).
7171

72-
To run the tests under bash, zsh, and ksh for Python 2.7 through 3.6,
73-
run ``tox`` from the top level directory of the hg repository.
72+
To run the tests under bash and zsh for the default Python,
73+
run ``tox`` from the top level directory of the hg repository::
74+
75+
$ tox
7476

7577
To run individual test scripts, use a command like::
7678

77-
$ tox tests/test_cd.sh
79+
$ tox -- tests/test_cd.sh
7880

7981
To run tests under a single version of Python, specify the appropriate
8082
environment when running tox::
8183

82-
$ tox -e py27
84+
$ tox -e py311
8385

8486
Combine the two modes to run specific tests with a single version of
8587
Python::
8688

87-
$ tox -e py27 tests/test_cd.sh
89+
$ tox -e py311 -- tests/test_cd.sh
8890

8991
To stop the test suite as soon as any test fails, use the `fast` tox
9092
target::

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py27,py33,py34,py35,py36,zsh,ksh,style
2+
envlist = py,zsh,style
33

44
[testenv]
55
install_command = pip install -U {opts} {packages}

0 commit comments

Comments
 (0)