summaryrefslogtreecommitdiff
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-12-30 13:56:18 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-12-30 13:58:50 -0500
commitce5909536dddbead4ff9ccea335a1a7de8a0cde7 (patch)
tree8fcbd6183decb6ce3921fae29d37d92cab91adb5 /tests/helpers.py
parent96f290af9a4f3c9ea9d0954d06de8894ec9066b4 (diff)
downloadpython-coveragepy-git-ce5909536dddbead4ff9ccea335a1a7de8a0cde7.tar.gz
test: seven tests that fail because of pypy 3882
https://foss.heptapod.net/pypy/pypy/-/issues/3882
Diffstat (limited to 'tests/helpers.py')
-rw-r--r--tests/helpers.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/helpers.py b/tests/helpers.py
index 725bd340..40c5f095 100644
--- a/tests/helpers.py
+++ b/tests/helpers.py
@@ -317,7 +317,8 @@ def swallow_warnings(message=r".", category=CoverageWarning):
warnings.filterwarnings("ignore", category=category, message=message)
yield
+
xfail_pypy38 = pytest.mark.xfail(
- env.PYVERSION[:2] == (3, 8) and env.PYPY,
- reason="Not sure why these few tests fail on PyPy 3.8 still",
+ env.PYPY and env.PYVERSION[:2] == (3, 8) and env.PYPYVERSION < (7, 3, 11),
+ reason="These tests fail on older PyPy 3.8",
)