mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Mark `test_build_manpage
` as XFAIL following changes in Docutils master
This commit is contained in:
parent
cd8ce07d31
commit
1ed4ca7e03
@ -7,6 +7,8 @@ from sphinx.builders.manpage import default_man_pages
|
||||
from sphinx.config import Config
|
||||
|
||||
|
||||
@pytest.mark.xfail(docutils.__version_info__[:2] > (0, 21),
|
||||
reason='Docutils has removed the reference key in master')
|
||||
@pytest.mark.sphinx('man')
|
||||
def test_all(app, status, warning):
|
||||
app.build(force_all=True)
|
||||
@ -47,6 +49,8 @@ def test_man_make_section_directory(app, status, warning):
|
||||
assert (app.outdir / 'man1' / 'projectnamenotset.1').exists()
|
||||
|
||||
|
||||
@pytest.mark.xfail(docutils.__version_info__[:2] > (0, 21),
|
||||
reason='Docutils has removed the reference key in master')
|
||||
@pytest.mark.sphinx('man', testroot='directive-code')
|
||||
def test_captioned_code_block(app, status, warning):
|
||||
app.build(force_all=True)
|
||||
|
Loading…
Reference in New Issue
Block a user