code: def test_invalid_counts(self):
      for n in ["foo", -1, 0, 1.0]:
          self.assertRaises(
              TypeError, json.dumps, 0, int_as_string_bitcount=n
          )
  
file_path: catboost/contrib/python/simplejson/py2/simplejson/tests/test_bitsize_int_as_string.py
imports: from unittest import TestCase
  import simplejson
label_desc: Use image node_id 1 for calling the TestBitSizeIntAsString obj's underlying member method code with example usage: obj.test_invalid_counts() without return types