summaryrefslogtreecommitdiff
path: root/tests/test_parser.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2020-10-10 13:12:16 -0400
committerNed Batchelder <ned@nedbatchelder.com>2020-10-10 13:12:16 -0400
commitf2598ce9ea5c6c1e126ac32a9aa05d87e84685f9 (patch)
treea2735f551ad0cd7ea7a3111f35277307b5c8bc6e /tests/test_parser.py
parent0e179ed1ed055cd6de19f5c75f3021532ab03992 (diff)
downloadpython-coveragepy-git-nedbat/pythons.tar.gz
PyPy 3.7 doesn't act exactly like CPython 3.7nedbat/pythons
Diffstat (limited to 'tests/test_parser.py')
-rw-r--r--tests/test_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_parser.py b/tests/test_parser.py
index 03bf25de..0e6a0859 100644
--- a/tests/test_parser.py
+++ b/tests/test_parser.py
@@ -214,7 +214,7 @@ class PythonParserTest(CoverageTest):
expected_arcs = set(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):
+ if (not env.PYPY) and (env.PYVERSION >= (3, 7, 0, 'beta', 5)):
# 3.7 changed how functions with only docstrings are numbered.
expected_arcs.update(set(arcz_to_arcs("-46 6-4")))
expected_exits.update({6: 1})