8000 Backport PR #21900: Include test notebooks in test package · matplotlib/matplotlib@b73cf46 · GitHub
[go: up one dir, main page]

Skip to content

Commit b73cf46

Browse files
dstansbymeeseeksmachine
authored andcommitted
Backport PR #21900: Include test notebooks in test package
1 parent 3fff26c commit b73cf46

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)
0