code: def test_type_errors(self, spacy_doc):
      bad_tls = [
          (1, "en", "n"),
          (None, "en", "v"),
          (spacy_doc, "en", "a"),
      ]
      for term, lang, sense in bad_tls:
          with pytest.raises(TypeError):
              RESOURCE._get_relation_values(
                  RESOURCE.antonyms, term, lang=lang, sense=sense
              )
  
imports: import pytest
  import textacy
  import textacy.resources
label_desc: Use image node_id 3 for calling the TestGetRelationValues obj's underlying member method code with example usage: obj.test_type_errors(spacy_doc) without return types