def METHOD_NAME():
    # Strictly speaking this could be supported, but having this odd special case
    # work would likely add more confusion and bugs surfacing add surpising times.
    var = make_var()
    with pytest.raises(sc.DimensionError):
        condition = sc.scalar(True)
        var[condition]