code: def test_async_blocks():
      t = Template(
          "{% block foo %}<Test>{% endblock %}{{ self.foo() }}",
          enable_async=True,
          autoescape=True,
      )
  
      async def func():
          return await t.render_async()
  
      rv = run(func())
      assert rv == "<Test><Test>"
  
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 6 for calling a global function with example usage: test_async_blocks() and returns: unknown