Changed py39 from py27 in tox

Changed py39 from py27 in tox for contributing doc

Change-Id: Ia079b7b7f5d96858c7dfe4b3d103c0efd86ae68b
This commit is contained in:
ljhuang 2022-07-28 11:32:24 +08:00
parent f4783ad497
commit 476c5f89c7
2 changed files with 6 additions and 7 deletions

View File

@ -258,8 +258,7 @@ following on your development system and ensure that they pass.
.. code-block:: bash
$ tox -e pep8
$ tox -e py27
$ tox -e py34
$ tox -e py39
$ tox -e pylint
If you are unable to get these to pass locally, it is a waste of the
@ -294,11 +293,11 @@ To run all tests and PEP8, run tox, like so:
$ tox
To run just the tests for Python 2.7, run:
To run just the tests for Python 3.9, run:
.. code-block:: bash
$ tox -epy27
$ tox -epy39
To run just PEP8, run:

View File

@ -2,12 +2,12 @@
# Arguments: Use --pid_file to specify a pid file location.
if [ ! -d ".tox/py27" ]; then
tox -epy27
if [ ! -d ".tox/py39" ]; then
tox -epy39
fi
function run() {
.tox/py27/bin/python $@
.tox/py39/bin/python $@
}
run bin/trove-manage \
--config-file=etc/trove/trove.conf.test db_recreate \