Skip to content

Commit 36eef9f

Browse files
committed
TST: skip sphinx tests if no sphinx installed
1 parent d2e7694 commit 36eef9f

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)