def get_name(self, plugin):
        for name, val in self._name2plugin.items():
            if plugin == val:
                return name
Return name for registered plugin or None if not registered.
dataset/ETHPy150Open pytest-dev/pytest/_pytest/vendored_packages/pluggy.py/PluginManager.get_name