summaryrefslogtreecommitdiff
path: root/tests/test_build.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-02-21 11:50:08 +0100
committerGeorg Brandl <georg@python.org>2010-02-21 11:50:08 +0100
commit7429ae935ec47c56c95998a8537236d4c1da7a2b (patch)
tree898390a615563269b7b8a56f3026b0e6de47f9a4 /tests/test_build.py
parentcdb65275eef02c7c3d248fa1316ddf8db1d43d0a (diff)
downloadsphinx-7429ae935ec47c56c95998a8537236d4c1da7a2b.tar.gz
Add manual page writer.
Diffstat (limited to 'tests/test_build.py')
-rw-r--r--tests/test_build.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test_build.py b/tests/test_build.py
index 82657fc0..f18ff175 100644
--- a/tests/test_build.py
+++ b/tests/test_build.py
@@ -45,6 +45,15 @@ def test_epub(app):
def test_changes(app):
app.builder.build_all()
+try:
+ from docutils.writers.manpage import Writer
+except ImportError:
+ pass
+else:
+ @with_app(buildername='man')
+ def test_man(app):
+ app.builder.build_all()
+
@with_app(buildername='singlehtml', cleanenv=True)
def test_singlehtml(app):
app.builder.build_all()