We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 530d580 commit 4bebfddCopy full SHA for 4bebfdd
conftest.py
@@ -0,0 +1,15 @@
1
+# Configure test collection to skip doctests for modules that depend on sphinx
2
+# when sphinx is not available in the environment.
3
+
4
+try:
5
+ import sphinx
6
7
+ has_sphinx = True
8
+except ImportError:
9
+ has_sphinx = False
10
11
12
+collect_ignore = []
13
14
+if not has_sphinx:
15
+ collect_ignore += ["numpydoc/numpydoc.py", "numpydoc/docscrape_sphinx.py"]
0 commit comments