diff options
author | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2020-03-31 21:58:17 +0200 |
---|---|---|
committer | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2020-03-31 21:58:17 +0200 |
commit | e4c91962f6e19466c1e43629a2c6cd04ff012e06 (patch) | |
tree | 74796b5e856e7aabb4e30e11c229657c80263583 | |
parent | b344c17c0f6b9afeb2dd441984cc734c51b9d751 (diff) | |
download | cros-ec-tests-e4c91962f6e19466c1e43629a2c6cd04ff012e06.tar.gz |
docs: Use python3 command instead of python for the examples
In the section 'Using the unittest Command-Line Interface' there are
some examples that use the python command instead of python3. python
usually points to python2 which is deprecated, so update the examples to
use python3.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
-rw-r--r-- | docs/source/development/testguide.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/development/testguide.rst b/docs/source/development/testguide.rst index 3f28735..958ac1e 100644 --- a/docs/source/development/testguide.rst +++ b/docs/source/development/testguide.rst @@ -42,11 +42,11 @@ Using the unittest Command-Line Interface The unittest module can be used from the command line to run tests from modules:: - python -m unittest cros.tests.cros_ec_rtc + python3 -m unittest cros.tests.cros_ec_rtc You can run tests with more detail (higher verbosity) by passing in the -v flag:: - python -m unittest -v cros.tests.cros_ec_rtc + python3 -m unittest -v cros.tests.cros_ec_rtc Writing tests ************* |