Skip to content

Commit 4d3b301

Browse files
committed
TST: Skip test_full if no sphinx installed.
1 parent a380d08 commit 4d3b301

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

numpydoc/tests/test_full.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
import pytest
2+
pytest.importorskip("sphinx")
3+
14
import os.path as op
25
import re
36
import shutil
47

5-
import pytest
68
from docutils import __version__ as docutils_version
79
from packaging import version
810
from sphinx.application import Sphinx

0 commit comments

Comments
 (0)