diff options
Diffstat (limited to 'tests/test_arcs.py')
-rw-r--r-- | tests/test_arcs.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py index 817943e9..312efdc7 100644 --- a/tests/test_arcs.py +++ b/tests/test_arcs.py @@ -279,7 +279,10 @@ class WithTest(CoverageTest): arcz=arcz, ) - @pytest.mark.skipif(env.PYVERSION[:2] >= (3, 11), reason="avoid a 3.11 bug: 45709") + @pytest.mark.skipif( + (3, 11) <= env.PYVERSION <= (3, 11, 0, 'alpha', 2, 0), + reason="avoid a 3.11 bug: 45709" + ) # https://github.com/nedbat/coveragepy/issues/1270 def test_raise_through_with(self): if env.PYBEHAVIOR.exit_through_with: |