Skip to content

Backport PR #19962 on branch v3.4.x (Dev install troubleshooting) #20015

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/devel/development_setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
6 changes: 3 additions & 3 deletions doc/devel/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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