Skip to content

Commit

Permalink
Mark autodoc singledispatchmethod tests as expected failures
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Feb 18, 2025
1 parent 03ee6b0 commit 2f8c1dd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/test_extensions/test_ext_autodoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@

from sphinx.environment import BuildEnvironment

xfail_singledispatchmethod_py314a6 = pytest.mark.xfail(
sys.version_info >= (3, 14, 0, 'alpha', 5),
reason='https://github.com/sphinx-doc/sphinx/issues/13359',
)


def make_directive_bridge(env: BuildEnvironment) -> DocumenterBridge:
options = Options(
Expand Down Expand Up @@ -2656,6 +2661,7 @@ def test_singledispatch(app):
]


@xfail_singledispatchmethod_py314a6
@pytest.mark.sphinx('html', testroot='ext-autodoc')
def test_singledispatchmethod(app):
options = {'members': None}
Expand Down Expand Up @@ -2683,6 +2689,7 @@ def test_singledispatchmethod(app):
]


@xfail_singledispatchmethod_py314a6
@pytest.mark.sphinx('html', testroot='ext-autodoc')
def test_singledispatchmethod_automethod(app):
options = {}
Expand All @@ -2701,6 +2708,7 @@ def test_singledispatchmethod_automethod(app):
]


@xfail_singledispatchmethod_py314a6
@pytest.mark.sphinx('html', testroot='ext-autodoc')
def test_singledispatchmethod_classmethod(app):
options = {'members': None}
Expand Down Expand Up @@ -2732,6 +2740,7 @@ def test_singledispatchmethod_classmethod(app):
]


@xfail_singledispatchmethod_py314a6
@pytest.mark.sphinx('html', testroot='ext-autodoc')
def test_singledispatchmethod_classmethod_automethod(app):
options = {}
Expand Down

0 comments on commit 2f8c1dd

Please sign in to comment.