docstr: Test if errors are raised on bad input
docstr_tok: ["Test","if","errors","are","raised","on","bad","input"]
code: def testErrors(self):
      """Test if errors are raised on bad input"""
      # not providing dictionary
      self.assertRaises(
          ValueError,
          CoherenceModel,
          topics=self.topics1,
          corpus=self.corpus,
          coherence="u_mass",
      )
      # not providing texts for c_v and instead providing corpus
      self.assertRaises(
          ValueError,
          CoherenceModel,
          topics=self.topics1,
          corpus=self.corpus,
          dictionary=self.dictionary,
          coherence="c_v",
      )
      # not providing corpus or texts for u_mass
      self.assertRaises(
          ValueError,
          CoherenceModel,
          topics=self.topics1,
          dictionary=self.dictionary,
          coherence="u_mass",
      )
  
imports: import logging
  import unittest
  import multiprocessing
  from functools import partial
  import numpy
  from gensim.matutils import argsort
  from gensim.models.coherencemodel import CoherenceModel, BOOLEAN_DOCUMENT_BASED
  from gensim.models.ldamodel import LdaModel
  from gensim.test.utils import get_tmpfile, common_texts, common_dictionary, common_corpus
label_desc: Use image node_id 12 for calling the TestCoherenceModel obj's underlying member method code with example usage: obj.testErrors() without return types