diff --git a/doc/devel/development_setup.rst b/doc/devel/development_setup.rst index d926f401c757..a511e4a6aef3 100644 --- a/doc/devel/development_setup.rst +++ b/doc/devel/development_setup.rst @@ -132,4 +132,4 @@ Optional, but recommended: Python packages and must be installed separately. The documentation can be built without Inkscape and optipng, but the build process will raise various warnings. If the build process warns that you are missing fonts, make sure - your LaTeX distribution bundles cm-super or install it separately. + your LaTeX distribution bundles cm-super or install it separately. \ No newline at end of file diff --git a/doc/devel/testing.rst b/doc/devel/testing.rst index 49c27002b058..b46586104121 100644 --- a/doc/devel/testing.rst +++ b/doc/devel/testing.rst @@ -37,7 +37,7 @@ Running the tests In the root directory of your development repository run:: - pytest + python -m pytest pytest can be configured via a lot of `command-line parameters`_. Some @@ -258,10 +258,10 @@ Run the tests ^^^^^^^^^^^^^ To run the all the tests on your installed version of Matplotlib:: - pytest --pyargs matplotlib.tests + python -m pytest --pyargs matplotlib.tests The test discovery scope can be narrowed to single test modules or even single functions:: - pytest --pyargs matplotlib.tests.test_simplification.py::test_clipping + python -m pytest --pyargs matplotlib.tests.test_simplification.py::test_clipping