def METHOD_NAME() -> None:
    import trio
    # no warning on accessing the submodule
    assert trio.tests
    # only when accessing a submodule member
    with pytest.warns(TrioDeprecationWarning):
        assert trio.tests.test_abc  # type: ignore[attr-defined]