summaryrefslogtreecommitdiff
path: root/tests/test_pycode_parser.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-11-08 12:36:16 +0900
committerGitHub <noreply@github.com>2020-11-08 12:36:16 +0900
commita3145beddf1aaf4d1bd76c0670473f0e7d8f4b64 (patch)
treebd236d6d736c155732be32a513355918b784e9a5 /tests/test_pycode_parser.py
parent8bf84167a30aa05886fcc1ed8895c8c20e939d89 (diff)
parent0914c9266a5d6642d0efe9f0ef4dd6b825a03193 (diff)
downloadsphinx-git-a3145beddf1aaf4d1bd76c0670473f0e7d8f4b64.tar.gz
Merge pull request #8378 from tk0miya/drop_py35_support
Drop code for supporting py35
Diffstat (limited to 'tests/test_pycode_parser.py')
-rw-r--r--tests/test_pycode_parser.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_pycode_parser.py b/tests/test_pycode_parser.py
index 71847f04f..2ef3c2311 100644
--- a/tests/test_pycode_parser.py
+++ b/tests/test_pycode_parser.py
@@ -95,8 +95,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'