code: def test_normalize_whitespace(text_in, text_out):
      assert preprocessing.normalize.whitespace(text_in) == text_out
  
imports: import pytest
  from textacy import preprocessing
label_desc: Use image node_id 6 for calling a global function with example usage: test_normalize_whitespace(text_in, text_out) without return types