code: def test_get_normalized_text(spacy_doc):
      expected = [
          "the",
          "unit",
          "test",
          "be",
          "not",
          "go",
          "well",
          ".",
          "I",
          "love",
          "Python",
          ",",
          "but",
          "I",
          "do",
          "not",
          "love",
          "backwards",
          "incompatibility",
          ".",
          "no",
          "programmer",
          "be",
          "permanently",
          "damage",
          "for",
          "textacy",
          "'s",
          "sake",
          ".",
          "thank",
          "God",
          "for",
          "Stack",
          "Overflow",
          ".",
      ]
      observed = [
          utils.get_normalized_text(tok)
          for tok in spacy_doc
          if not tok.is_space
      ]
      assert observed == expected
  
file_path: textacy/tests/spacier/test_spacier_utils.py
imports: import pytest
  from spacy.tokens import Doc
  from textacy import load_spacy_lang
  from textacy.spacier import utils
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_normalized_text(spacy_doc) without return types