37
37
38
38
from sphinx .environment import BuildEnvironment
39
39
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
+
40
45
41
46
def make_directive_bridge (env : BuildEnvironment ) -> DocumenterBridge :
42
47
options = Options (
@@ -2656,6 +2661,7 @@ def test_singledispatch(app):
2656
2661
]
2657
2662
2658
2663
2664
+ @xfail_singledispatchmethod_py314a6
2659
2665
@pytest .mark .sphinx ('html' , testroot = 'ext-autodoc' )
2660
2666
def test_singledispatchmethod (app ):
2661
2667
options = {'members' : None }
@@ -2683,6 +2689,7 @@ def test_singledispatchmethod(app):
2683
2689
]
2684
2690
2685
2691
2692
+ @xfail_singledispatchmethod_py314a6
2686
2693
@pytest .mark .sphinx ('html' , testroot = 'ext-autodoc' )
2687
2694
def test_singledispatchmethod_automethod (app ):
2688
2695
options = {}
@@ -2701,6 +2708,7 @@ def test_singledispatchmethod_automethod(app):
2701
2708
]
2702
2709
2703
2710
2711
+ @xfail_singledispatchmethod_py314a6
2704
2712
@pytest .mark .sphinx ('html' , testroot = 'ext-autodoc' )
2705
2713
def test_singledispatchmethod_classmethod (app ):
2706
2714
options = {'members' : None }
@@ -2732,6 +2740,7 @@ def test_singledispatchmethod_classmethod(app):
2732
2740
]
2733
2741
2734
2742
2743
+ @xfail_singledispatchmethod_py314a6
2735
2744
@pytest .mark .sphinx ('html' , testroot = 'ext-autodoc' )
2736
2745
def test_singledispatchmethod_classmethod_automethod (app ):
2737
2746
options = {}
0 commit comments