8000 Merge pull request #23130 from QuLogic/fix-nightly-again · matplotlib/matplotlib@3048d7b · GitHub
[go: up one dir, main page]

Skip to content

Commit 3048d7b

Browse files
authored
Merge pull request #23130 from QuLogic/fix-nightly-again
Drop pytest warning config in nightly tests
2 parents c2fdd21 + d9fbc7d commit 3048d7b

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -221,15 +221,6 @@ jobs:
221221
run: |
222222
python -m pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple --upgrade numpy pandas
223223
224-
# Turn all warnings to errors, except ignore the distutils deprecations and the find_spec warning
225-
cat >> pytest.ini << EOF
226-
[pytest]
227-
filterwarnings =
228-
error
229-
ignore:.*distutils:DeprecationWarning
230-
ignore:DynamicImporter.find_spec\(\) not found; falling back to find_module\(\):ImportWarning
231-
EOF
232-
233224
- name: Install Matplotlib
234225
run: |
235226
ccache -s

pytest.ini

Lines 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