summaryrefslogtreecommitdiff
path: root/coverage/env.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/env.py')
-rw-r--r--coverage/env.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/env.py b/coverage/env.py
index d194f34a..b5da3b47 100644
--- a/coverage/env.py
+++ b/coverage/env.py
@@ -57,7 +57,7 @@ class PYBEHAVIOR(object):
unpackings_pep448 = (PYVERSION >= (3, 5))
# Can co_lnotab have negative deltas?
- negative_lnotab = (PYVERSION >= (3, 6))
+ negative_lnotab = (PYVERSION >= (3, 6)) and not (PYPY and PYPYVERSION < (7, 2))
# Do .pyc files conform to PEP 552? Hash-based pyc's.
hashed_pyc_pep552 = (PYVERSION >= (3, 7, 0, 'alpha', 4))