Skip to content

Commit da9728b

Browse files
committed
doc: Update Py37 instead of py27
Examples in this section should use a Python 3 environment and not py27. Change-Id: If082b92e089af980e411b4b4c1319e462862a55f Closes-Bug: #1866375
1 parent d0f10e3 commit da9728b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc/source/contributor/unit_tests.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ options and what the test run does by default.
2727
Running a subset of tests using tox
2828
-----------------------------------
2929
One common activity is to just run a single test, you can do this with tox
30-
simply by specifying to just run py27 or py35 tests against a single test::
30+
simply by specifying to just run py3 tests against a single test::
3131

32-
tox -epy27 -- -n cinderclient.tests.unit.v2.test_volumes.VolumesTest.test_attach
32+
tox -e py3 -- -n cinderclient.tests.unit.v2.test_volumes.VolumesTest.test_attach
3333

3434
Or all tests in the test_volumes.py file::
3535

36-
tox -epy27 -- -n cinderclient.tests.unit.v2.test_volumes
36+
tox -e py3 -- -n cinderclient.tests.unit.v2.test_volumes
3737

3838
For more information on these options and how to run tests, please see the
3939
`stestr documentation <https://stestr.readthedocs.io/en/latest/index.html>`_.

0 commit comments

Comments
 (0)