code: def test_iterator_coordinate():
      def gen():
          yield "i"
          yield "j"
          yield "k"
  
      coordsys = CoordinateSystem(gen(), name="test_iter")
      assert coordsys.coord_names == ("i", "j", "k")
  
imports: from types import SimpleNamespace
  import numpy
  import pytest
  from ..coordinate_system import CoordinateSystem, CoordinateSystemError, CoordSysMaker, CoordSysMakerError, is_coordsys, is_coordsys_maker, product, safe_dtype
label_desc: Use image node_id 3 for calling a global function with example usage: test_iterator_coordinate() without return types