def unregister(self, name):
        try:
            content_type = self.name_to_type[name]
            self._decoders.pop(content_type, None)
            self._encoders.pop(name, None)
            self.type_to_name.pop(content_type, None)
            self.name_to_type.pop(name, None)
        except __HOLE__:
            raise SerializerNotInstalled(
                'No encoder/decoder installed for {0}'.format(name))
dataset/ETHPy150Open celery/kombu/kombu/serialization.py/SerializerRegistry.unregister