def METHOD_NAME():
    param = ParameterFloat("MyFloat", 1.1)
    with pytest.raises(TypeError) as error:
        float(param)
    assert str(error.value) == "Pipeline variables do not support __float__ operation."