()
| 460 | # https://foss.heptapod.net/pypy/pypy/-/issues/2742 |
| 461 | @pytest.mark.xfail("env.PYPY") |
| 462 | def test_final(): |
| 463 | with pytest.raises(TypeError) as exc_info: |
| 464 | |
| 465 | class PyFinalChild(m.IsFinal): |
| 466 | pass |
| 467 | |
| 468 | assert str(exc_info.value).endswith("is not an acceptable base type") |
| 469 | |
| 470 | |
| 471 | # https://foss.heptapod.net/pypy/pypy/-/issues/2742 |