Skip to content

Commit

Permalink
Mark test_build_manpage as XFAIL following changes in Docutils ma…
Browse files Browse the repository at this point in the history
…ster
  • Loading branch information
AA-Turner committed Jul 20, 2024
1 parent cd8ce07 commit 1ed4ca7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_builders/test_build_manpage.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 1ed4ca7

Please sign in to comment.