summaryrefslogtreecommitdiff
path: root/tests/test_parser.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-06-02 11:46:37 -0400
committerNed Batchelder <ned@nedbatchelder.com>2018-06-02 11:46:37 -0400
commit3be75d375c82003ea7ca9d3bc9502a46ff3a5822 (patch)
tree9763c537f5c710562d198fd7986da2e1979cfe3b /tests/test_parser.py
parentb4bbc37f3748a447c2f85218f8092a94fc8e13fe (diff)
downloadpython-coveragepy-git-3be75d375c82003ea7ca9d3bc9502a46ff3a5822.tar.gz
Undo some 3.7b4 ast tweaks
Diffstat (limited to 'tests/test_parser.py')
-rw-r--r--tests/test_parser.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/test_parser.py b/tests/test_parser.py
index 89ef6dc4..184825bf 100644
--- a/tests/test_parser.py
+++ b/tests/test_parser.py
@@ -165,11 +165,7 @@ class PythonParserTest(CoverageTest):
def func(x=25):
return 26
""")
- if env.PYVERSION < (3, 7):
- raw_statements = set([3, 4, 5, 6, 8, 9, 10, 13, 15, 16, 17, 20, 22, 23, 25, 26])
- else:
- # Python 3.7 no longer includes class docstrings in the lnotab table.
- raw_statements = set([3, 4, 5, 6, 8, 10, 13, 15, 16, 17, 20, 22, 23, 25, 26])
+ raw_statements = set([3, 4, 5, 6, 8, 9, 10, 13, 15, 16, 17, 20, 22, 23, 25, 26])
self.assertEqual(parser.raw_statements, raw_statements)
self.assertEqual(parser.statements, set([8]))