code: def test_iter_args():
      from rasterio.windows import iter_args
  
      @iter_args
      def foo(*args):
          return len(args)
  
      assert foo([0, 1, 2]) == foo(0, 1, 2) == foo(range(3)) == 3
  
imports: import numpy
  import pytest
  import rasterio
  from rasterio.errors import WindowError
  from rasterio import windows
label_desc: Use image node_id 23 for calling a global function with example usage: test_iter_args() and returns: len