Commits

timmartin committed cc6fc23

The test runner script now checks for the docutils and jinja libraries, without which all tests fail

Comments (0)

Files changed (1)

     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()