def remove_references(self, name):
        if hasattr(self, '_delegates_'):
            for dname in self._delegates_:
                inst = getattr(self, dname)
                if isinstance(inst, (HasParameters, HasConstraints,
                                     HasEqConstraints, HasIneqConstraints,
                                     HasObjective, HasObjectives, HasResponses)):
                    inst.remove_references(name)
        self.workflow.remove(name)
If a pre-release is passed to ``get_package_key_suffix``, "-testing"
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/driver.py/Driver.remove_references--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/common/test/test_version.py/GetPackageKeySuffixTests.test_pre_release