def _get_serializer(self, serializer_name):
        try:
            serializer = self.serializers[serializer_name]
        except __HOLE__:
            raise KeyError(
                "Serializer {0} doesn't exist or isn't registered".format(
                    serializer_name
                )
            )
        return serializer
dataset/ETHPy150Open kevin1024/vcrpy/vcr/config.py/VCR._get_serializer