Skip to content

Commit

Permalink
Fix testcase: Enum changes were reverted in Python 3.10
Browse files Browse the repository at this point in the history
They are postponed to Python 3.11
  • Loading branch information
befeleme committed Jul 13, 2021
1 parent 3c3a734 commit c188ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ext_autodoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ def test_enum_class(app):
options = {"members": None}
actual = do_autodoc(app, 'class', 'target.enums.EnumCls', options)

if sys.version_info < (3, 10):
if sys.version_info < (3, 11):
sig = '(value)'
else:
sig = ('(value, names=None, *, module=None, qualname=None, type=None, start=1, '
Expand Down

0 comments on commit c188ee6

Please sign in to comment.