summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-01-03 05:20:42 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-01-03 05:47:38 -0500
commit36116214f2aa1b296db377e8889cb3b944443c4a (patch)
treeb4d8390e3c967b5c7205b11fb7be37e779b4bd2a /tests
parenta260995d527df1307e7ec82d3aa2b01930dbab5b (diff)
downloadpython-coveragepy-git-36116214f2aa1b296db377e8889cb3b944443c4a.tar.gz
test: skip a test on 3.11 while bpo46225 is worked out
Diffstat (limited to 'tests')
-rw-r--r--tests/test_arcs.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py
index 46c66938..15633fb2 100644
--- a/tests/test_arcs.py
+++ b/tests/test_arcs.py
@@ -1220,6 +1220,11 @@ class YieldTest(CoverageTest):
arcz=".1 19 9. .2 23 34 45 56 63 37 7.",
)
+ # https://bugs.python.org/issue46225
+ @pytest.mark.skipif(
+ env.PYVERSION[:5] == (3, 11, 0, 'alpha', 3),
+ reason="avoid 3.11 bug: bpo46225",
+ )
def test_bug_308(self):
self.check_coverage("""\
def run():