code: def test_add_typeerror(self, corpus):
      datas = (
          b"This is a byte string.",
          [b"This is a byte string.", b"This is another byte string."],
      )
      for data in datas:
          with pytest.raises(TypeError):
              corpus.add(data)
  
imports: import collections
  import itertools
  import numpy
  import pytest
  from spacy.tokens import Doc
  from textacy import Corpus
  from textacy import load_spacy_lang
label_desc: Use image node_id 4 for calling the TestCorpusMethods obj's underlying member method code with example usage: obj.test_add_typeerror(corpus) without return types