summaryrefslogtreecommitdiff
path: root/tests/test_pycode_parser.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-09-08 10:52:24 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-09-22 21:27:59 +0900
commit3a2418a82728a138a3c08b084877f76984714254 (patch)
treea30e94b17f3657b627344f0d0b23f4c238c82c01 /tests/test_pycode_parser.py
parent5ffce30d7527166e444d79e10a88e795d6a0b9c0 (diff)
downloadsphinx-git-3a2418a82728a138a3c08b084877f76984714254.tar.gz
refactoring: Drop PY2 and PY3 flags
Diffstat (limited to 'tests/test_pycode_parser.py')
-rw-r--r--tests/test_pycode_parser.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_pycode_parser.py b/tests/test_pycode_parser.py
index 0875329a4..4fbfefcf2 100644
--- a/tests/test_pycode_parser.py
+++ b/tests/test_pycode_parser.py
@@ -12,7 +12,6 @@
import sys
import pytest
-from six import PY2
from sphinx.pycode.parser import Parser
@@ -135,7 +134,6 @@ def test_complex_assignment():
assert parser.definitions == {}
-@pytest.mark.skipif(PY2, reason='tests for py3 syntax')
def test_complex_assignment_py3():
source = ('a, *b, c = (1, 2, 3, 4) #: unpack assignment\n'
'd, *self.attr = (5, 6, 7) #: unpack assignment2\n'