def METHOD_NAME():
    with pytest.raises(psi4.UpgradeHelper) as e:
        psi4.QMMM()
    assert 'Replace object with a list of charges and locations in Bohr passed as keyword argument' in str(e.value)