diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-06-13 07:57:18 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-06-13 07:57:18 -0400 |
commit | 3240e331e8e6fb5cf56991d28c5279138df2466e (patch) | |
tree | 36c88664bb7d45dfc90fe974c799cdcbe552f117 /tests/test_parser.py | |
parent | 8487f53182564a40d8283d1433ce16cfdf921059 (diff) | |
download | python-coveragepy-3240e331e8e6fb5cf56991d28c5279138df2466e.tar.gz |
Make version checking more uniform
Diffstat (limited to 'tests/test_parser.py')
-rw-r--r-- | tests/test_parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_parser.py b/tests/test_parser.py index 034e9aa..169319f 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -200,7 +200,7 @@ class PythonParserTest(CoverageTest): expected_arcs = set(self.arcz_to_arcs(".1 14 48 8. .2 2. -8A A-8")) expected_exits = {1: 1, 2: 1, 4: 1, 8: 1, 10: 1} if env.PYVERSION >= (3, 7, 0, 'beta', 5): - # 3.7 changed how functions with only docstrings were numbered. + # 3.7 changed how functions with only docstrings are numbered. expected_arcs.update(set(self.arcz_to_arcs("-46 6-4"))) expected_exits.update({6: 1}) self.assertEqual(parser.arcs(), expected_arcs) |