()
| 471 | # https://foss.heptapod.net/pypy/pypy/-/issues/2742 |
| 472 | @pytest.mark.xfail("env.PYPY") |
| 473 | def test_non_final_final(): |
| 474 | with pytest.raises(TypeError) as exc_info: |
| 475 | |
| 476 | class PyNonFinalFinalChild(m.IsNonFinalFinal): |
| 477 | pass |
| 478 | |
| 479 | assert str(exc_info.value).endswith("is not an acceptable base type") |
| 480 | |
| 481 | |
| 482 | # https://github.com/pybind/pybind11/issues/1878 |