Skip to content

Commit 1ed4ca7

Browse files
committed
Mark test_build_manpage as XFAIL following changes in Docutils master
1 parent cd8ce07 commit 1ed4ca7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_builders/test_build_manpage.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
from sphinx.config import Config
88

99

10+
@pytest.mark.xfail(docutils.__version_info__[:2] > (0, 21),
11+
reason='Docutils has removed the reference key in master')
1012
@pytest.mark.sphinx('man')
1113
def test_all(app, status, warning):
1214
app.build(force_all=True)
@@ -47,6 +49,8 @@ def test_man_make_section_directory(app, status, warning):
4749
assert (app.outdir / 'man1' / 'projectnamenotset.1').exists()
4850

4951

52+
@pytest.mark.xfail(docutils.__version_info__[:2] > (0, 21),
53+
reason='Docutils has removed the reference key in master')
5054
@pytest.mark.sphinx('man', testroot='directive-code')
5155
def test_captioned_code_block(app, status, warning):
5256
app.build(force_all=True)

0 commit comments

Comments
 (0)