def METHOD_NAME():
    @config
    class CFG:
        a: index
        b: size
    @proc
    def foo(N: size, x: R[N]):
        CFG.a = 3
        for i in seq(0, N):
            if i < CFG.a:
                x[i] = x[i] + 1.0
    with pytest.raises(
        SchedulingError, match="Cannot change configuration value of CFG_a"
    ):
        foo = delete_config(foo, "CFG.a = _")