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

Skip to content

Dev install troubleshooting #19962

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
merged 3 commits into from
Apr 18, 2021
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's another pytest call some lines down.



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