def METHOD_NAME():
    err_substr = "no direct replacement"
    with pytest.raises(psi4.UpgradeHelper) as e:
        psi4.variable("scsn-mp2 same-spin correlation energy")
    assert err_substr in str(e.value)