code: def test_acronyms(lang_en, text, exp):
      doc = lang_en(text)
      obs = list(extract.acronyms(doc))
      assert all(isinstance(tok, Token) for tok in obs)
      assert [tok.text for tok in obs] == exp
  
file_path: textacy/tests/extract/test_acros.py
imports: import pytest
  from spacy.tokens import Token
  from textacy import extract
label_desc: Use image node_id 4 for calling a global function with example usage: test_acronyms(lang_en, text, exp) without return types