summaryrefslogtreecommitdiff
path: root/tests/helpers.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 /tests/helpers.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 'tests/helpers.py')
-rw-r--r--tests/helpers.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/helpers.py b/tests/helpers.py
index 32115dc1..f593c72c 100644
--- a/tests/helpers.py
+++ b/tests/helpers.py
@@ -320,5 +320,10 @@ def swallow_warnings(message=r".", category=CoverageWarning):
xfail_pypy_3749 = pytest.mark.xfail(
env.PYVERSION[:2] == (3, 8) and env.PYPY and env.PYPYVERSION >= (7, 3, 10),
- reason="Avoid a PyPy bug: https://foss.heptapod.net/pypy/pypy/-/issues/3749"
+ reason="Avoid a PyPy bug: https://foss.heptapod.net/pypy/pypy/-/issues/3749",
+)
+
+xfail_pypy_3792 = pytest.mark.xfail(
+ env.PYBEHAVIOR.report_absolute_files and env.PYPY,
+ reason="Avoid a PyPy bug: https://foss.heptapod.net/pypy/pypy/-/issues/3792",
)