summaryrefslogtreecommitdiff
path: root/tests/test_pycode_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_pycode_parser.py')
-rw-r--r--tests/test_pycode_parser.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/test_pycode_parser.py b/tests/test_pycode_parser.py
index 9169315fc..e9099178d 100644
--- a/tests/test_pycode_parser.py
+++ b/tests/test_pycode_parser.py
@@ -8,10 +8,6 @@
:license: BSD, see LICENSE for details.
"""
-import sys
-
-import pytest
-
from sphinx.pycode.parser import Parser
from sphinx.util.inspect import signature_from_str
@@ -95,8 +91,7 @@ def test_comment_picker_location():
('Foo', 'attr3'): 'comment for attr3(3)'}
-@pytest.mark.skipif(sys.version_info < (3, 6), reason='tests for py36+ syntax')
-def test_annotated_assignment_py36():
+def test_annotated_assignment():
source = ('a: str = "Sphinx" #: comment\n'
'b: int = 1\n'
'"""string on next line"""\n'