summaryrefslogtreecommitdiff
path: root/coverage/env.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 15:33:46 -0400
commitae35c27be0062721c82f1967e9eb7d6f041e5258 (patch)
treed6867d32e42d232e8e6a4f37c3c1b46c005fecad /coverage/env.py
parent4e8f18ecf5b357ba2bc058dec250da7388892da2 (diff)
downloadpython-coveragepy-git-ae35c27be0062721c82f1967e9eb7d6f041e5258.tar.gz
PyPy 3.7 doesn't act exactly like CPython 3.7
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 b5da3b47..80153ecf 100644
--- a/coverage/env.py
+++ b/coverage/env.py
@@ -66,7 +66,7 @@ class PYBEHAVIOR(object):
# used to be an empty string (meaning the current directory). It changed
# to be the actual path to the current directory, so that os.chdir wouldn't
# affect the outcome.
- actual_syspath0_dash_m = (PYVERSION >= (3, 7, 0, 'beta', 3))
+ actual_syspath0_dash_m = (not PYPY) and (PYVERSION >= (3, 7, 0, 'beta', 3))
# When a break/continue/return statement in a try block jumps to a finally
# block, does the finally block do the break/continue/return (pre-3.8), or