diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-06-05 07:32:58 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-06-05 07:32:58 -0400 |
commit | 94920c01e81048f9167cd4a2225cdee00659ad16 (patch) | |
tree | 2553f88b000db23d2da3f5e25f6896422ef21580 /tests/test_arcs.py | |
parent | 3ea867ac47735424ea1ca6b40779b5cf1b542be3 (diff) | |
download | python-coveragepy-git-94920c01e81048f9167cd4a2225cdee00659ad16.tar.gz |
Adapt to optimization tweak in CPython 3.8.0b1
Diffstat (limited to 'tests/test_arcs.py')
-rw-r--r-- | tests/test_arcs.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py index cbbac64a..638478ab 100644 --- a/tests/test_arcs.py +++ b/tests/test_arcs.py @@ -1178,6 +1178,9 @@ class OptimizedIfTest(CoverageTest): # Before 3.7, no Python optimized away "if not __debug__:" if not env.PYBEHAVIOR.optimize_if_debug: self.skipTest("PyPy doesn't optimize away 'if __debug__:'") + elif env.PYBEHAVIOR.optimize_if_not_debug2: + arcz = ".1 12 24 41 26 61 1." + arcz_missing = "" elif env.PYBEHAVIOR.optimize_if_not_debug: arcz = ".1 12 23 31 26 61 1." arcz_missing = "" |