Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ea3d50e

Browse files
timhoffmmeeseeksmachine
authored andcommitted
Backport PR #19962: Dev install troubleshooting
1 parent 0155ce4 commit ea3d50e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/devel/development_setup.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,4 @@ Optional, but recommended:
132132
Python packages and must be installed separately. The documentation can be
133133
built without Inkscape and optipng, but the build process will raise various
134134
warnings. If the build process warns that you are missing fonts, make sure
135-
your LaTeX distribution bundles cm-super or install it separately.
135+
your LaTeX distribution bundles cm-super or install it separately.

doc/devel/testing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Running the tests
3737

3838
In the root directory of your development repository run::
3939

40-
pytest
40+
python -m pytest
4141

4242

4343
pytest can be configured via a lot of `command-line parameters`_. Some
@@ -258,10 +258,10 @@ Run the tests
258258
^^^^^^^^^^^^^
259259
To run the all the tests on your installed version of Matplotlib::
260260

261-
pytest --pyargs matplotlib.tests
261+
python -m pytest --pyargs matplotlib.tests
262262

263263
The test discovery scope can be narrowed to single test modules or even single
264264
functions::
265265

266-
pytest --pyargs matplotlib.tests.test_simplification.py::test_clipping
266+
python -m pytest --pyargs matplotlib.tests.test_simplification.py::test_clipping
267267

0 commit comments

Comments
 (0)