Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d9fbc7d

Browse filesBrowse files
committed
Tell Pytest to only look in lib by default
This prevents it from trying to look at examples or other documentation, some of which may match the test file glob, but won't contain tests.
1 parent fb84a0f commit d9fbc7d
Copy full SHA for d9fbc7d

File tree

Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed

‎pytest.ini

Copy file name to clipboard
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[pytest]
2+
# NOTE: Because tests can be run from an installed copy, most of our Pytest
3+
# configuration is in the `pytest_configure` function in
4+
# `lib/matplotlib/testing/conftest.py`. This configuration file exists only to
5+
# prevent Pytest from wasting time trying to check examples and documentation
6+
# files that are not really tests.
7+
testpaths = lib

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.