diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-10 07:39:07 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-10 14:49:15 -0500 |
commit | 59e29586615fe6445b9f5ab418f9635d7d754259 (patch) | |
tree | d73362ab9ad9e7c791765fdbbc1bad36864bc13c /tests/test_arcs.py | |
parent | dfa97742b62f83b5c892e5de78a3ef1a97ee8a27 (diff) | |
download | python-coveragepy-git-nedbat/py3.11.tar.gz |
fix: make this work on CPython 3.11 #1241nedbat/py3.11
The fix for CTracer is egregious and will need to be updated when there's a
supported way to do it.
The fullcoverage skip is noted in
https://github.com/nedbat/coveragepy/issues/1278
The raise_through_with skip is noted in
https://github.com/nedbat/coveragepy/issues/1270
Diffstat (limited to 'tests/test_arcs.py')
-rw-r--r-- | tests/test_arcs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py index 6a65d4fe..349a560f 100644 --- a/tests/test_arcs.py +++ b/tests/test_arcs.py @@ -279,6 +279,8 @@ class WithTest(CoverageTest): arcz=arcz, ) + @pytest.mark.skipif(env.PYVERSION[:2] >= (3, 11), 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: arcz = ".1 12 27 78 8. 9A A. -23 34 45 53 6-2" |