def _read_extensions(self, context):
        """Return a list of extensions as str to be passed on to the jinja2
        env. If context does not contain the relevant info, return an empty
        list instead.
        """
        try:
            extensions = context['cookiecutter']['_extensions']
        except __HOLE__:
            return []
        else:
            return [str(ext) for ext in extensions]
dataset/ETHPy150Open audreyr/cookiecutter/cookiecutter/environment.py/ExtensionLoaderMixin._read_extensions