summaryrefslogtreecommitdiff
path: root/tests/test_pycode_parser.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-11-06 01:36:04 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-11-06 01:36:04 +0900
commit6d5e43a0ffc99830c91e37c026d89a6d70fe52c8 (patch)
tree86101efa1e401be56177237b89e07903cc2c8a18 /tests/test_pycode_parser.py
parent8bf84167a30aa05886fcc1ed8895c8c20e939d89 (diff)
downloadsphinx-git-6d5e43a0ffc99830c91e37c026d89a6d70fe52c8.tar.gz
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'