py3: tox.ini: use substituation to py35 commands

Use tox substitution to avoid duplicating testenv:py34 commands in
testenv:py35, to not have to maintain the whitelist of Python 3 tests
in two different places.

Write also the list of tests in a newline to be able to more easily
add new unit tests.

Change-Id: I6e7f238f1c5d3fc9b6560918dcbb93e9dd8ec084
This commit is contained in:
Victor Stinner 2016-08-22 10:41:59 +02:00
parent 29d13b7161
commit d98928caa9

View File

@ -28,11 +28,11 @@ setenv = VIRTUAL_ENV={envdir}
[testenv:py34]
commands =
nosetests test/unit/common/test_exceptions.py
nosetests \
test/unit/common/test_exceptions.py
[testenv:py35]
commands =
nosetests test/unit/common/test_exceptions.py
commands = {[testenv:py34]commands}
[testenv:pep8]
basepython = python2.7