def METHOD_NAME(formula):
    with pytest.raises(BaserowFormulaSyntaxError):
        FormulaHandler.rename_field_references_in_formula_string(
            formula,
            {
                "test": "new test",
            },
        )