summaryrefslogtreecommitdiff
path: root/tests/test_process.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-11-10 07:39:07 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-11-10 18:45:37 -0500
commit9765493020e6292599e272978a25935dd4d0fa88 (patch)
tree059c5310f84fe88f87a58ca9db6a11c2e3dca014 /tests/test_process.py
parentdfa97742b62f83b5c892e5de78a3ef1a97ee8a27 (diff)
downloadpython-coveragepy-git-9765493020e6292599e272978a25935dd4d0fa88.tar.gz
fix: CPython 3.11 support. #1241
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_process.py')
-rw-r--r--tests/test_process.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_process.py b/tests/test_process.py
index 1e644864..83ca1feb 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -748,6 +748,8 @@ class ProcessTest(CoverageTest):
@pytest.mark.expensive
@pytest.mark.skipif(env.METACOV, reason="Can't test fullcoverage when measuring ourselves")
@pytest.mark.skipif(not env.C_TRACER, reason="fullcoverage only works with the C tracer.")
+ @pytest.mark.skipif(env.PYVERSION[:2] >= (3, 11), reason="this test needs work on 3.11")
+ # https://github.com/nedbat/coveragepy/issues/1278
def test_fullcoverage(self):
# fullcoverage is a trick to get stdlib modules measured from
# the very beginning of the process. Here we import os and