summaryrefslogtreecommitdiff
path: root/coverage/env.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-07-30 10:07:06 -0400
committerNed Batchelder <ned@nedbatchelder.com>2022-08-02 13:47:39 -0400
commit30a249aac87be4701bfafae2ed3c5a6e964aa3fc (patch)
treeacc6228b46fb22e7b10c55ad2477cb84d03e3e83 /coverage/env.py
parentb8cb29e53ee6d3a2fda8a342de72e3fefec7d547 (diff)
downloadpython-coveragepy-git-30a249aac87be4701bfafae2ed3c5a6e964aa3fc.tar.gz
test: xfail some tests that need PyPy to improve #1426
https://foss.heptapod.net/pypy/pypy/-/issues/3792
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 2e21b9a7..13411699 100644
--- a/coverage/env.py
+++ b/coverage/env.py
@@ -85,7 +85,7 @@ class PYBEHAVIOR:
nix_while_true = (PYVERSION >= (3, 8))
# CPython 3.9a1 made sys.argv[0] and other reported files absolute paths.
- report_absolute_files = (CPYTHON and PYVERSION >= (3, 9))
+ report_absolute_files = ((CPYTHON or (PYPYVERSION >= (7, 3, 10))) and PYVERSION >= (3, 9))
# Lines after break/continue/return/raise are no longer compiled into the
# bytecode. They used to be marked as missing, now they aren't executable.