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

Skip to content

Commit 085fdd0

Browse files
authored
Merge pull request #21900 from QuLogic/test-notebook
Include test notebooks in test package
2 parents e8f4df9 + 59ac2a1 commit 085fdd0

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
@@ -480,6 +480,7 @@ def get_package_data(self):
480480
*_pkg_data_helper('matplotlib', 'tests/tinypages'),
481481
'tests/cmr10.pfb',
482482
'tests/mpltest.ttf',
483+
'tests/test_*.ipynb',
483484
],
484485
'mpl_toolkits': [
485486
*_pkg_data_helper('mpl_toolkits', 'tests/baseline_images'),

0 commit comments

Comments
 (0)