code: def test_macro(env):
      t = env.from_string(
          "{%- macro x() -%}{{- [1,2] -}}{%- endmacro -%}{{- x()[1] -}}"
      )
      result = t.render()
      assert result == 2
      assert isinstance(result, int)
  
imports: import math
  import pytest
  from jinja2.exceptions import UndefinedError
  from jinja2.nativetypes import NativeEnvironment
  from jinja2.nativetypes import NativeTemplate
  from jinja2.runtime import Undefined
label_desc: Use image node_id 22 for calling a global function with example usage: test_macro(env) without return types