code: def test_part_of_speech(pos_pipeline):
      doc = pos_pipeline(EN_DOC)
      assert EN_DOC_GOLD == "\n\n".join(
          [sent.tokens_string() for sent in doc.sentences]
      )
  
imports: import pytest
  import stanza
  from stanza.tests import *
label_desc: Use image node_id 2 for calling a global function with example usage: test_part_of_speech(pos_pipeline) without return types