summaryrefslogtreecommitdiff
path: root/tests/test_ext_autodoc_automodule.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ext_autodoc_automodule.py')
-rw-r--r--tests/test_ext_autodoc_automodule.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/test_ext_autodoc_automodule.py b/tests/test_ext_autodoc_automodule.py
index 71b23679d..4b5b06c26 100644
--- a/tests/test_ext_autodoc_automodule.py
+++ b/tests/test_ext_autodoc_automodule.py
@@ -115,11 +115,6 @@ def test_automodule_special_members(app):
@pytest.mark.sphinx('html', testroot='ext-autodoc')
def test_automodule_inherited_members(app):
- if sys.version_info < (3, 7):
- args = ''
- else:
- args = '(iterable=(), /)'
-
options = {'members': None,
'undoc-members': None,
'inherited-members': 'Base, list'}
@@ -170,7 +165,7 @@ def test_automodule_inherited_members(app):
' Inherited function.',
'',
'',
- '.. py:class:: MyList%s' % args,
+ '.. py:class:: MyList(iterable=(), /)',
' :module: target.inheritance',
'',
'',