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