code: def test_status_iterator_length_0(app, status, warning):
      logging.setup(app, status, warning)
  
      # test for status_iterator (length=0)
      status.seek(0)
      status.truncate(0)
      yields = list(
          status_iterator(["hello", "sphinx", "world"], "testing ... ")
      )
      output = strip_escseq(status.getvalue())
      assert "testing ... hello sphinx world \n" in output
      assert yields == ["hello", "sphinx", "world"]
  
file_path: sphinx/tests/test_util/test_util_display.py
imports: import pytest
  from sphinx.testing.util import strip_escseq
  from sphinx.util import logging
  from sphinx.util.display import SkipProgressMessage, display_chunk, progress_message, status_iterator
label_desc: Use image node_id 2 for calling a global function with example usage: test_status_iterator_length_0(app, status, warning) without return types