code: def test_status_iterator(fakesphinxapp):
      for _ in sphinx_compatibility._app_status_iterator(
          [1, 2, 3], "summary", length=3
      ):
          pass
  
      assert len(fakesphinxapp.calls["status_iterator"]) == 1
      call = fakesphinxapp.calls["status_iterator"][0]
      assert call.args == ([1, 2, 3], "summary")
      assert "color" not in call.kwargs
      assert "colorfunc" not in call.kwargs
      assert call.kwargs["length"] == 3
  
imports: from __future__ import division, absolute_import, print_function
  import sphinx.util.console
  from sphinx_gallery import sphinx_compatibility
label_desc: Use image node_id 1 for calling a global function with example usage: test_status_iterator(fakesphinxapp) without return types