def METHOD_NAME(prop):
    value = 'Gouraud'
    prop.interpolation = value
    assert prop.interpolation == pv.opts.InterpolationType.from_any(value)
    with pytest.raises(ValueError, match='InterpolationType has no value matching'):
        prop.interpolation = 'foo'