code: def test_async_iteration_in_templates_extended():
      t = Template(
          "{% for x in rng %}{{ loop.index0 }}/{{ x }}{% endfor %}",
          enable_async=True,
      )
      stream = t.generate(rng=auto_aiter(range(1, 4)))
      assert next(stream) == "0"
      assert "".join(stream) == "/11/22/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 9 for calling a global function with example usage: test_async_iteration_in_templates_extended() without return types