code: def test_pos(doc):
      exp = {"PRON": 2, "VERB": 2, "NOUN": 2, "PUNCT": 2}
      assert textacy.text_stats.counts.pos(doc) == exp
  
imports: import pytest
  import textacy
  import textacy.text_stats
label_desc: Use image node_id 4 for calling a global function with example usage: test_pos(doc) without return types