code: def test_streaming_functionality(corpus):
      assert isinstance(DATASET, textacy.datasets.base.Dataset)
      assert isinstance(corpus, Corpus)
  
imports: import numpy
  import pytest
  import scipy.sparse
  from spacy.tokens import Doc, Span
  import textacy.datasets
  from textacy import Corpus
  from textacy import extract, preprocessing
  from textacy import load_spacy_lang, make_spacy_doc
  from textacy.extract import keyterms
  from textacy.text_stats import TextStats
  from textacy.tm import TopicModel
  from textacy.representations import Vectorizer
label_desc: Use image node_id 4 for calling a global function with example usage: test_streaming_functionality(corpus) without return types