force python3 for venv environment for tox

Change-Id: Ib863fc7a8f79efb13a2cf131d58aec10701c8424
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-08-25 16:39:18 -04:00
parent dfff1292d1
commit dba5bc537d

View File

@ -18,6 +18,10 @@ commands =
commands = flake8 {posargs}
[testenv:venv]
# The sphinxcontrib.autoprogram extension requires python 3's version
# of argparse, so force python 3 here to ensure the check job that
# builds the docs on OpenStack infrastructure uses python 3.
basepython = python3
commands = {posargs}
[testenv:cover]