code: def test_cast_int(env):
      t = env.from_string("{{ value|int }}")
      result = t.render(value="3")
      assert isinstance(result, int)
      assert result == 3
  
imports: import pytest
  from jinja2._compat import text_type
  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 5 for calling a global function with example usage: test_cast_int(env) without return types