mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
The test runner script now checks for the docutils and jinja libraries, without which all tests fail
This commit is contained in:
parent
54290ed0e6
commit
d8a2e21758
12
tests/run.py
12
tests/run.py
@ -32,5 +32,17 @@ except ImportError:
|
||||
print("The nose package is needed to run the Sphinx test suite.")
|
||||
sys.exit(1)
|
||||
|
||||
try:
|
||||
import docutils
|
||||
except ImportError:
|
||||
print("Sphinx requires the docutils package to be installed")
|
||||
sys.exit(1)
|
||||
|
||||
try:
|
||||
import jinja2
|
||||
except ImportError:
|
||||
print("Sphinx requires the jinja2 package to be installed")
|
||||
sys.exit(1)
|
||||
|
||||
print("Running Sphinx test suite...")
|
||||
nose.main()
|
||||
|
Loading…
Reference in New Issue
Block a user