code: def test_python(self):
      def body(i):
          nonlocal s
          s = s * 10 + i
  
      def set_state(loop_vars):
          nonlocal s
          (s,) = loop_vars
  
      s = 0
      control_flow.for_stmt(
          range(5),
          extra_test=lambda: True,
          body=body,
          get_state=lambda: (s,),
          set_state=set_state,
          symbol_names=("s",),
          opts={},
      )
  
      self.assertEqual(s, 1234)
  
file_path: DALI/dali/test/python/autograph/operators/test_control_flow.py
imports: import unittest
  from nvidia.dali._autograph.operators import control_flow
label_desc: Use image node_id 1 for calling the ForLoopTest obj's underlying member method code with example usage: obj.test_python() without return types