Skip to content

Commit

Permalink
test: remove xfail for pypy bugs 3936 and 3937
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed May 18, 2023
1 parent 3fb8da5 commit 12333be
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/test_arcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@
reason="https://foss.heptapod.net/pypy/pypy/-/issues/3882",
)

xfail_pypy_3936 = pytest.mark.xfail(
env.PYPY and env.PYVERSION[:2] >= (3, 10),
reason="https://foss.heptapod.net/pypy/pypy/-/issues/3936",
)

class SimpleArcTest(CoverageTest):
"""Tests for coverage.py's arc measurement."""

Expand Down Expand Up @@ -1329,7 +1324,6 @@ def gen():
@pytest.mark.skipif(not env.PYBEHAVIOR.match_case, reason="Match-case is new in 3.10")
class MatchCaseTest(CoverageTest):
"""Tests of match-case."""
@xfail_pypy_3936
def test_match_case_with_default(self) -> None:
self.check_coverage("""\
for command in ["huh", "go home", "go n"]:
Expand All @@ -1346,7 +1340,6 @@ def test_match_case_with_default(self) -> None:
)
assert self.stdout() == "default\nno go\ngo: n\n"

@xfail_pypy_3936
def test_match_case_with_wildcard(self) -> None:
self.check_coverage("""\
for command in ["huh", "go home", "go n"]:
Expand All @@ -1363,7 +1356,6 @@ def test_match_case_with_wildcard(self) -> None:
)
assert self.stdout() == "default: ['huh']\nno go\ngo: n\n"

@xfail_pypy_3936
def test_match_case_without_wildcard(self) -> None:
self.check_coverage("""\
match = None
Expand Down Expand Up @@ -1708,10 +1700,6 @@ def my_function(
)

@xfail_pypy38
@pytest.mark.xfail(
env.PYPY and env.PYVERSION[:2] >= (3, 10),
reason="https://foss.heptapod.net/pypy/pypy/-/issues/3937",
)
def test_class_decorator(self) -> None:
arcz = (
".1 16 67 6D 7A AE E. " # main line
Expand Down

0 comments on commit 12333be

Please sign in to comment.