code: def test_arguments(self):
      try:
          TfidfVectorizer(max_doc_freq=-1)
      except ValueError:
          assert True
  
      try:
          TfidfVectorizer(max_features=-1)
      except ValueError:
          assert True
  
imports: import unittest
  from collections import defaultdict
  import numpy
  import numpy.testing
  from cornac.data import TextModality, ReviewModality
  from cornac.data.text import SPECIAL_TOKENS, DEFAULT_PRE_RULES, BaseTokenizer, Vocabulary, CountVectorizer, TfidfVectorizer
label_desc: Use image node_id 2 for calling the TestTfidfVectorizer obj's underlying member method code with example usage: obj.test_arguments() without return types