code: def test_dataset(dataset):
      assert hasattr(dataset, "info")
      assert isinstance(dataset.info, dict)
      assert hasattr(dataset, "download")
  
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 5 for calling a global function with example usage: test_dataset(dataset) without return types