code: def test_interm_iter(self):
      global var
  
      var = 0
  
      @aup_args
      def iteration(x, b):
          global var
          for _ in range(6):
              var += 1
  
          return var
  
      iteration(self.file2)
      self.assertEqual(var, 7)
  
file_path: auptimizer/tests/test_wrapper.py
imports: import unittest
  from six import PY2
  from os import path
  from aup import aup_args
label_desc: Use image node_id 3 for calling the WrapperTestCase obj's underlying member method code with example usage: obj.test_interm_iter() and returns: var