diff --git a/lib/matplotlib/tests/test_backend_nbagg.py b/lib/matplotlib/tests/test_backend_nbagg.py index a7060ed2a7fd..4ebf3e1f56d1 100644 --- a/lib/matplotlib/tests/test_backend_nbagg.py +++ b/lib/matplotlib/tests/test_backend_nbagg.py @@ -6,6 +6,8 @@ import pytest nbformat = pytest.importorskip('nbformat') +pytest.importorskip('nbconvert') +pytest.importorskip('ipykernel') # From https://blog.thedataincubator.com/2016/06/testing-jupyter-notebooks/ diff --git a/setupext.py b/setupext.py index 25e12f7a7919..e41ab98fe1c0 100644 --- a/setupext.py +++ b/setupext.py @@ -481,6 +481,7 @@ def get_package_data(self): *_pkg_data_helper('matplotlib', 'tests/tinypages'), 'tests/cmr10.pfb', 'tests/mpltest.ttf', + 'tests/test_*.ipynb', ], 'mpl_toolkits': [ *_pkg_data_helper('mpl_toolkits', 'tests/baseline_images'),
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: