code: def test_read_multiple_doc_ids():
      docs = CoNLL.conll2multi_docs(input_str=MULTIPLE_DOC_IDS)
      assert len(docs) == 2
      assert len(docs[0].sentences) == 2
      assert len(docs[1].sentences) == 2
  
      # remove the first doc_id comment
      text = "\n".join(MULTIPLE_DOC_IDS.split("\n")[1:])
      docs = CoNLL.conll2multi_docs(input_str=text)
      assert len(docs) == 3
      assert len(docs[0].sentences) == 1
      assert len(docs[1].sentences) == 1
      assert len(docs[2].sentences) == 2
  
imports: import io
  import pytest
  import tempfile
  from zipfile import ZipFile
  import stanza
  from stanza.utils.conll import CoNLL
  from stanza.models.common.doc import Document
  from stanza.tests import *
label_desc: Use image node_id 20 for calling a global function with example usage: test_read_multiple_doc_ids() without return types