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

Skip to content

Commit 07fdbe8

Browse files
tacaswellpganssle
authored andcommitted
TST: skip sphinx tests if no sphinx installed
1 parent ab92163 commit 07fdbe8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/sphinxext/tests/test_tinypages.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717

1818
def test_tinypages(tmpdir):
19+
pytest.importorskip('sphinx')
1920
html_dir = pjoin(str(tmpdir), 'html')
2021
doctree_dir = pjoin(str(tmpdir), 'doctrees')
2122
# Build the pages with warnings turned into errors

0 commit comments

Comments
 (0)