code: def test_async_generate():
      t = Template(
          "{% for x in [1, 2, 3] %}{{ x }}{% endfor %}",
          enable_async=True,
      )
      rv = list(t.generate())
      assert rv == ["1", "2", "3"]
  
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 7 for calling a global function with example usage: test_async_generate() without return types