code: def test_if_branching_multi_scope():
      for_loop = nodes.For(
          nodes.Name("item", "store"),
          nodes.Name("seq", "load"),
          [
              nodes.If(
                  nodes.Name("expression", "load"),
                  [
                      nodes.Assign(
                          nodes.Name("x", "store"), nodes.Const(42)
                      )
                  ],
                  [],
                  [],
              ),
              nodes.Include(nodes.Const("helper.html"), True, False),
          ],
          [],
          None,
          False,
      )
  
      tmpl = nodes.Template(
          [
              nodes.Assign(nodes.Name("x", "store"), nodes.Const(23)),
              for_loop,
          ]
      )
  
      tmpl_sym = symbols_for_node(tmpl)
      for_sym = symbols_for_node(for_loop, tmpl_sym)
      assert for_sym.stores == set(["item", "x"])
      assert for_sym.loads == {
          "l_1_x": ("alias", "l_0_x"),
          "l_1_item": ("param", None),
          "l_1_expression": ("resolve", "expression"),
      }
  
imports: from jinja2 import nodes
  from jinja2.idtracking import symbols_for_node
label_desc: Use image node_id 5 for calling a global function with example usage: test_if_branching_multi_scope() without return types