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
4146def 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' )
26602666def 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' )
26872694def 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' )
27052713def 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' )
27362745def test_singledispatchmethod_classmethod_automethod (app ):
27372746 options = {}
0 commit comments