diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-01-29 09:45:42 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-01-29 14:14:15 -0500 |
commit | e6a810246f0316f6518d54148b3303c9b2f47f57 (patch) | |
tree | e3676f4be0bac4875d21f51cfb2e221500269863 /tests/test_concurrency.py | |
parent | 6e02043ca68d7c00962247a41c6f9183fd556713 (diff) | |
download | python-coveragepy-git-e6a810246f0316f6518d54148b3303c9b2f47f57.tar.gz |
test: skip tests on py 3.11.0a4 that are failing in metacov
This specific set of circumstances was triggering
https://bugs.python.org/issue44088
Diffstat (limited to 'tests/test_concurrency.py')
-rw-r--r-- | tests/test_concurrency.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py index bfdf13d4..1e919e3b 100644 --- a/tests/test_concurrency.py +++ b/tests/test_concurrency.py @@ -496,6 +496,11 @@ class MultiprocessingTest(CoverageTest): last_line = self.squeezed_lines(out)[-1] assert re.search(r"TOTAL \d+ 0 100%", last_line) + @pytest.mark.skipif( + ((3, 11, 0, "alpha", 4, 0) == env.PYVERSION), + #((3, 11, 0, "alpha", 4, 0) == env.PYVERSION) and not env.C_TRACER and env.METACOV, + reason="avoid a 3.11 bug: https://bugs.python.org/issue46389", + ) def test_multiprocessing_simple(self, start_method): nprocs = 3 upto = 30 @@ -510,6 +515,11 @@ class MultiprocessingTest(CoverageTest): start_method=start_method, ) + @pytest.mark.skipif( + ((3, 11, 0, "alpha", 4, 0) == env.PYVERSION), + #((3, 11, 0, "alpha", 4, 0) == env.PYVERSION) and not env.C_TRACER and env.METACOV, + reason="avoid a 3.11 bug: https://bugs.python.org/issue46389", + ) def test_multiprocessing_append(self, start_method): nprocs = 3 upto = 30 |