From f2598ce9ea5c6c1e126ac32a9aa05d87e84685f9 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 10 Oct 2020 13:12:16 -0400 Subject: PyPy 3.7 doesn't act exactly like CPython 3.7 --- tests/test_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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}) -- cgit v1.2.1