Skip to content

Commit

Permalink
test: no need to protect against a 3.11.0a4 bug anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Mar 3, 2022
1 parent b703555 commit 5f9fd32
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
8 changes: 0 additions & 8 deletions tests/test_arcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1234,10 +1234,6 @@ def run():
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
Expand Down Expand Up @@ -1618,10 +1614,6 @@ def test_pathologically_long_code_object(self, n):
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.
Expand Down
10 changes: 0 additions & 10 deletions tests/test_concurrency.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,11 +492,6 @@ def try_multiprocessing_code(
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
Expand All @@ -511,11 +506,6 @@ def test_multiprocessing_simple(self, start_method):
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
Expand Down

0 comments on commit 5f9fd32

Please sign in to comment.