diff --git a/tests/test_extensions/test_ext_autodoc.py b/tests/test_extensions/test_ext_autodoc.py index 6ef4b924910..3d34fdf6cf7 100644 --- a/tests/test_extensions/test_ext_autodoc.py +++ b/tests/test_extensions/test_ext_autodoc.py @@ -1410,7 +1410,10 @@ def test_enum_class(app): options = {"members": None} actual = do_autodoc(app, 'class', 'target.enums.EnumCls', options) - if sys.version_info[:2] >= (3, 12): + if sys.version_info[:2] >= (3, 13): + args = ('(value, names=, *values, module=None, ' + 'qualname=None, type=None, start=1, boundary=None)') + elif sys.version_info[:2] >= (3, 12): args = ('(value, names=None, *values, module=None, ' 'qualname=None, type=None, start=1, boundary=None)') elif sys.version_info[:2] >= (3, 11):