code: def test_setup(self):
      DiachronicTermMiner(self.corpus)
      with self.assertRaises(Exception):
          DiachronicTermMiner(self.corpus, timesteps_to_lag=3999)
      DiachronicTermMiner(self.corpus, timesteps_to_lag=2)
      with self.assertRaises(Exception):
          DiachronicTermMiner(self.corpus, start_category="asd")
      with self.assertRaises(Exception):
          DiachronicTermMiner(self.corpus, start_category="200304")
      DiachronicTermMiner(self.corpus, start_category="201404")
      with self.assertRaises(Exception):
          DiachronicTermMiner(
              self.corpus, seasonality_column="publish_montha"
          )
      DiachronicTermMiner(
          self.corpus, seasonality_column="publish_month"
      )
  
file_path: scattertext/scattertext/test/test_diachronicTermMiner.py
imports: from unittest import TestCase
  import io
  import pandas
  from scattertext.CorpusFromParsedDocuments import CorpusFromParsedDocuments
  from scattertext.WhitespaceNLP import whitespace_nlp_with_sentences
  from scattertext.diachronic.DiachronicTermMiner import DiachronicTermMiner
label_desc: Use image node_id 2 for calling the TestDiachronicTermMiner obj's underlying member method code with example usage: obj.test_setup() without return types