Skip to content

Commit 2f8c1dd

Browse files
committed
Mark autodoc singledispatchmethod tests as expected failures
1 parent 03ee6b0 commit 2f8c1dd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/test_extensions/test_ext_autodoc.py

+9
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@
3737

3838
from sphinx.environment import BuildEnvironment
3939

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

4146
def make_directive_bridge(env: BuildEnvironment) -> DocumenterBridge:
4247
options = Options(
@@ -2656,6 +2661,7 @@ def test_singledispatch(app):
26562661
]
26572662

26582663

2664+
@xfail_singledispatchmethod_py314a6
26592665
@pytest.mark.sphinx('html', testroot='ext-autodoc')
26602666
def test_singledispatchmethod(app):
26612667
options = {'members': None}
@@ -2683,6 +2689,7 @@ def test_singledispatchmethod(app):
26832689
]
26842690

26852691

2692+
@xfail_singledispatchmethod_py314a6
26862693
@pytest.mark.sphinx('html', testroot='ext-autodoc')
26872694
def test_singledispatchmethod_automethod(app):
26882695
options = {}
@@ -2701,6 +2708,7 @@ def test_singledispatchmethod_automethod(app):
27012708
]
27022709

27032710

2711+
@xfail_singledispatchmethod_py314a6
27042712
@pytest.mark.sphinx('html', testroot='ext-autodoc')
27052713
def test_singledispatchmethod_classmethod(app):
27062714
options = {'members': None}
@@ -2732,6 +2740,7 @@ def test_singledispatchmethod_classmethod(app):
27322740
]
27332741

27342742

2743+
@xfail_singledispatchmethod_py314a6
27352744
@pytest.mark.sphinx('html', testroot='ext-autodoc')
27362745
def test_singledispatchmethod_classmethod_automethod(app):
27372746
options = {}

0 commit comments

Comments
 (0)