summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Thiem <ptthiem@gmail.com>2013-02-19 20:11:03 -0600
committerPhilip Thiem <ptthiem@gmail.com>2013-02-19 20:11:03 -0600
commitfbce112b29bf6473442e630a65f231a456dd1529 (patch)
treefd4ede531b9bef2a74f349d16c71e0f7de7515a3
parent93cbd0b7eb702c07eb90cac380afd8d3fcd2b8fa (diff)
downloadtox-fbce112b29bf6473442e630a65f231a456dd1529.tar.gz
Need to use the shell on win32 in order to get sphinx-build mapped
to sphinx-build.exe (thankfully there isn't a shpinux-build extension-less sh/py script)
-rw-r--r--doc/check_sphinx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/check_sphinx.py b/doc/check_sphinx.py
index 0f536ff..ac04d4a 100644
--- a/doc/check_sphinx.py
+++ b/doc/check_sphinx.py
@@ -5,13 +5,13 @@ def test_build_docs(tmpdir):
htmldir = tmpdir.join("html")
subprocess.check_call([
"sphinx-build", "-W", "-bhtml",
- "-d", str(doctrees), ".", str(htmldir)])
+ "-d", str(doctrees), ".", str(htmldir)], shell=True)
def test_linkcheck(tmpdir):
doctrees = tmpdir.join("doctrees")
htmldir = tmpdir.join("html")
subprocess.check_call(
["sphinx-build", "-blinkcheck",
- "-d", str(doctrees), ".", str(htmldir)])
+ "-d", str(doctrees), ".", str(htmldir)], shell=True)