From 36116214f2aa1b296db377e8889cb3b944443c4a Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 3 Jan 2022 05:20:42 -0500 Subject: test: skip a test on 3.11 while bpo46225 is worked out --- tests/test_arcs.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') 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(): -- cgit v1.2.1