def METHOD_NAME():
    with Image.open("Tests/images/flower.webp") as im:
        assert "xmp" not in im.info
        assert im.getxmp() == {}
    with Image.open("Tests/images/flower2.webp") as im:
        if ElementTree is None:
            with pytest.warns(UserWarning):
                assert im.getxmp() == {}
        else:
            assert (
                im.getxmp()["xmpmeta"]["xmptk"]
                == "Adobe XMP Core 5.3-c011 66.145661, 2012/02/06-14:56:27        "
            )