summaryrefslogtreecommitdiff
path: root/tests/test_coverage.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-05-21 09:52:21 -0400
committerNed Batchelder <ned@nedbatchelder.com>2022-05-21 10:05:14 -0400
commitd4c09f9084cbe771a177b0d62d3a365427a9e2fb (patch)
tree329e9cefd7277fd2b90cc190733654cf0440a386 /tests/test_coverage.py
parent50e518edbacfc6609f4b5ca8ede77b27c5eaa06d (diff)
downloadpython-coveragepy-git-d4c09f9084cbe771a177b0d62d3a365427a9e2fb.tar.gz
test: xfail decorator tests that fail on PyPy 3.8 (7.3.10alpha)
https://foss.heptapod.net/pypy/pypy/-/issues/3749
Diffstat (limited to 'tests/test_coverage.py')
-rw-r--r--tests/test_coverage.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_coverage.py b/tests/test_coverage.py
index 17da4f5e..b9e5d6ae 100644
--- a/tests/test_coverage.py
+++ b/tests/test_coverage.py
@@ -10,6 +10,7 @@ from coverage import env
from coverage.exceptions import NoDataError
from tests.coveragetest import CoverageTest
+from tests.helpers import xfail_pypy_3749
class TestCoverageTest(CoverageTest):
@@ -1617,6 +1618,7 @@ class ExcludeTest(CoverageTest):
class Py24Test(CoverageTest):
"""Tests of new syntax in Python 2.4."""
+ @xfail_pypy_3749
def test_function_decorators(self):
lines = [1, 2, 3, 4, 6, 8, 10, 12]
if env.PYBEHAVIOR.trace_decorated_def:
@@ -1637,6 +1639,7 @@ class Py24Test(CoverageTest):
""",
lines, "")
+ @xfail_pypy_3749
def test_function_decorators_with_args(self):
lines = [1, 2, 3, 4, 5, 6, 8, 10, 12]
if env.PYBEHAVIOR.trace_decorated_def:
@@ -1657,6 +1660,7 @@ class Py24Test(CoverageTest):
""",
lines, "")
+ @xfail_pypy_3749
def test_double_function_decorators(self):
lines = [1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 14, 15, 17, 19, 21, 22, 24, 26]
if env.PYBEHAVIOR.trace_decorated_def: