diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-03-03 09:47:21 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-03-03 09:47:21 -0500 |
commit | 5f9fd32139fd0c54d025bb4c8c4132cd07ee29b0 (patch) | |
tree | d6a98a74f4a5788c2a33edd589a821d6775c69a0 | |
parent | b703555bb598788e909636babd5592000e082218 (diff) | |
download | python-coveragepy-git-5f9fd32139fd0c54d025bb4c8c4132cd07ee29b0.tar.gz |
test: no need to protect against a 3.11.0a4 bug anymore
-rw-r--r-- | tests/test_arcs.py | 8 | ||||
-rw-r--r-- | tests/test_concurrency.py | 10 |
2 files changed, 0 insertions, 18 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py index d19a6588..10157a77 100644 --- a/tests/test_arcs.py +++ b/tests/test_arcs.py @@ -1234,10 +1234,6 @@ class YieldTest(CoverageTest): arcz=".1 14 45 54 4. .2 2. -22 2-2", ) - @pytest.mark.skipif( - ((3, 11, 0, "alpha", 4, 0) == env.PYVERSION) and not env.C_TRACER, - reason="avoid a 3.11 bug: https://bugs.python.org/issue46389", - ) def test_bug_324(self): # This code is tricky: the list() call pulls all the values from gen(), # but each of them is a generator itself that is never iterated. As a @@ -1618,10 +1614,6 @@ class MiscArcTest(CoverageTest): self.check_coverage(code, arcs=[(-1, 1), (1, 2*n+4), (2*n+4, -1)]) assert self.stdout() == f"{n}\n" - @pytest.mark.skipif( - ((3, 11, 0, "alpha", 4, 0) == env.PYVERSION) and not env.C_TRACER, - reason="avoid a 3.11 bug: https://bugs.python.org/issue46389", - ) def test_partial_generators(self): # https://github.com/nedbat/coveragepy/issues/475 # Line 2 is executed completely. diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py index 1217142a..9d534981 100644 --- a/tests/test_concurrency.py +++ b/tests/test_concurrency.py @@ -492,11 +492,6 @@ 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 @@ -511,11 +506,6 @@ 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 |