def METHOD_NAME():
    err_substr = "All instances of 'dcft' should be replaced with 'dct'."
    # The errors trapped below are C-side, so they're nameless, Py-side.
    with pytest.raises(Exception) as e:
        psi4.set_options({'dcft__e_convergence': 9})
    assert err_substr in str(e.value)
    with pytest.raises(Exception) as e:
        psi4.set_options({'dct__dcft_functional': 'odc-06'})
    assert err_substr in str(e.value)