code: def test_not_serializable(self):
      try:
          json.dumps(json)
      except TypeError:
          err = sys.exc_info()[1]
      else:
          self.fail("Expected TypeError")
      self.assertEqual(
          str(err), "Object of type module is not JSON serializable"
      )
  
file_path: catboost/contrib/python/simplejson/py3/simplejson/tests/test_errors.py
imports: import sys, pickle
  from unittest import TestCase
  import simplejson
  from simplejson.compat import text_type, b
label_desc: Use image node_id 2 for calling the TestErrors obj's underlying member method code with example usage: obj.test_not_serializable() without return types