code: def test_preprocessing(record):
      result = textacy.preprocessing.replace.numbers(record.text)
      assert isinstance(result, str)
      assert not any(re.findall(r"\d+", result))
  
imports: import collections
  import itertools
  import re
  import pytest
  from spacy.tokens import Span
  import textacy
  import textacy.datasets
  import textacy.extract
  import textacy.preprocessing
label_desc: Use image node_id 8 for calling a global function with example usage: test_preprocessing(record) without return types