def METHOD_NAME():
    @deprecated(sdk_version="2.66.6")
    class SampleClass:
        def __init__(self):
            pass
    with pytest.warns(DeprecationWarning) as w:
        SampleClass()
        msg = (
            "SampleClass is a no-op in sagemaker>=2.66.6.\n"
            "See: https://sagemaker.readthedocs.io/en/stable/v2.html for details."
        )
        assert str(w[-1].message) == msg