diff options
| author | Tim Martin <tim@asymptotic.co.uk> | 2011-04-12 23:54:14 +0100 |
|---|---|---|
| committer | Tim Martin <tim@asymptotic.co.uk> | 2011-04-12 23:54:14 +0100 |
| commit | 8547263f65a25f047204b2a85526041604ee4a93 (patch) | |
| tree | f7100d490ae04389f5ccffafb29ddf33e54ef474 /tests/run.py | |
| parent | 92a6e76c46314cfb3311c18e5f9909f40976345c (diff) | |
| download | sphinx-8547263f65a25f047204b2a85526041604ee4a93.tar.gz | |
The test runner script now checks for the docutils and jinja libraries, without which all tests fail
Diffstat (limited to 'tests/run.py')
| -rwxr-xr-x | tests/run.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/run.py b/tests/run.py index 40c4fbed..efc65724 100755 --- a/tests/run.py +++ b/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() |
