def METHOD_NAME() -> None:
    with pytest.raises(MissingSemanticVersionError):
        @deprecated(None)  # type: ignore[arg-type]
        def func():
            pass
    with pytest.raises(BadDecoratorNestingError):
        class Test:
            @deprecated(FUTURE_VERSION)  # type: ignore[misc]
            @property
            def prop(this):
                pass