Skip to content

Commit

Permalink
Skip broken test on old sphinx.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmtroffaes committed Jan 10, 2024
1 parent e230984 commit b283a02
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/test_autoapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
Test with autodoc.
"""

import sphinx

from test.common import (
html_citation_refs_single,
html_citations,
Expand All @@ -15,6 +17,10 @@
import pytest


@pytest.mark.skipif(
sphinx.version_info < (7, 0),
reason="autoapi appears broken on sphinx 7.0 and lower",
)
@pytest.mark.sphinx("html", testroot="autoapi")
def test_autoapi(app, warning) -> None:
app.build()
Expand Down

0 comments on commit b283a02

Please # to comment.