code: def test_dataset_record(record):
      assert isinstance(record, tuple)
      assert len(record) == 2
      assert isinstance(record[0], str) and isinstance(record[1], dict)
      assert hasattr(record, "text") and hasattr(record, "meta")
  
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 6 for calling a global function with example usage: test_dataset_record(record) without return types