def METHOD_NAME() -> None:
    a = Parameter("param", set_cmd=None)
    a.set(2)
    assert a.get() == 2
    a._settable = False
    with pytest.raises(
        TypeError, match="Trying to set a parameter that is not settable."
    ):
        a.set(1)
    assert a.get() == 2