24
24
reason = "https://foss.heptapod.net/pypy/pypy/-/issues/3882" ,
25
25
)
26
26
27
- xfail_pypy_3936 = pytest .mark .xfail (
28
- env .PYPY and env .PYVERSION [:2 ] >= (3 , 10 ),
29
- reason = "https://foss.heptapod.net/pypy/pypy/-/issues/3936" ,
30
- )
31
-
32
27
class SimpleArcTest (CoverageTest ):
33
28
"""Tests for coverage.py's arc measurement."""
34
29
@@ -1329,7 +1324,6 @@ def gen():
1329
1324
@pytest .mark .skipif (not env .PYBEHAVIOR .match_case , reason = "Match-case is new in 3.10" )
1330
1325
class MatchCaseTest (CoverageTest ):
1331
1326
"""Tests of match-case."""
1332
- @xfail_pypy_3936
1333
1327
def test_match_case_with_default (self ) -> None :
1334
1328
self .check_coverage ("""\
1335
1329
for command in ["huh", "go home", "go n"]:
@@ -1346,7 +1340,6 @@ def test_match_case_with_default(self) -> None:
1346
1340
)
1347
1341
assert self .stdout () == "default\n no go\n go: n\n "
1348
1342
1349
- @xfail_pypy_3936
1350
1343
def test_match_case_with_wildcard (self ) -> None :
1351
1344
self .check_coverage ("""\
1352
1345
for command in ["huh", "go home", "go n"]:
@@ -1363,7 +1356,6 @@ def test_match_case_with_wildcard(self) -> None:
1363
1356
)
1364
1357
assert self .stdout () == "default: ['huh']\n no go\n go: n\n "
1365
1358
1366
- @xfail_pypy_3936
1367
1359
def test_match_case_without_wildcard (self ) -> None :
1368
1360
self .check_coverage ("""\
1369
1361
match = None
@@ -1708,10 +1700,6 @@ def my_function(
1708
1700
)
1709
1701
1710
1702
@xfail_pypy38
1711
- @pytest .mark .xfail (
1712
- env .PYPY and env .PYVERSION [:2 ] >= (3 , 10 ),
1713
- reason = "https://foss.heptapod.net/pypy/pypy/-/issues/3937" ,
1714
- )
1715
1703
def test_class_decorator (self ) -> None :
1716
1704
arcz = (
1717
1705
".1 16 67 6D 7A AE E. " # main line
0 commit comments