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 | 1bbfe7e938d0250a1bb777492f617e95349abc5d (patch) | |
tree | a9aabf7bee2a67d4479e34a56e4efabb6bbfb1e2 /tests/test_parser.py | |
parent | 637851fcc659b92ad493c3edc87f9f2fc9b1c313 (diff) | |
download | python-coveragepy-git-1bbfe7e938d0250a1bb777492f617e95349abc5d.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 034e9aa7..169319f5 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) |