Skip to content

Commit c4ce5d0

Browse files
authored
Merge pull request #21912 from meeseeksmachine/auto-backport-of-pr-21900-on-v3.5.x
Backport PR #21900 on branch v3.5.x (Include test notebooks in test package)
2 parents 3fff26c + b73cf46 commit c4ce5d0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

lib/matplotlib/tests/test_backend_nbagg.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
import pytest
77

88
nbformat = pytest.importorskip('nbformat')
9+
pytest.importorskip('nbconvert')
10+
pytest.importorskip('ipykernel')
911

1012
# From https://blog.thedataincubator.com/2016/06/testing-jupyter-notebooks/
1113

setupext.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@ def get_package_data(self):
481481
*_pkg_data_helper('matplotlib', 'tests/tinypages'),
482482
'tests/cmr10.pfb',
483483
'tests/mpltest.ttf',
484+
'tests/test_*.ipynb',
484485
],
485486
'mpl_toolkits': [
486487
*_pkg_data_helper('mpl_toolkits', 'tests/baseline_images'),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy