code: def test_env_async():
      env = Environment(
          loader=DictLoader(
              dict(
                  module="{% macro test() %}[{{ foo }}|{{ bar }}]{% endmacro %}",
                  header="[{{ foo }}|{{ 23 }}]",
                  o_printer="({{ o }})",
              )
          ),
          enable_async=True,
      )
      env.globals["bar"] = 23
      return env
  
imports: import asyncio
  import pytest
  from jinja2 import DictLoader
  from jinja2 import Environment
  from jinja2 import Template
  from jinja2.asyncsupport import auto_aiter
  from jinja2.exceptions import TemplateNotFound
  from jinja2.exceptions import TemplatesNotFound
  from jinja2.exceptions import UndefinedError
label_desc: Use image node_id 10 for calling a global function with example usage: test_env_async() and returns: env