code: def test_error_is_pickable(self):
      err = None
      try:
          json.loads("{}\na\nb")
      except json.JSONDecodeError:
          err = sys.exc_info()[1]
      else:
          self.fail("Expected JSONDecodeError")
      s = pickle.dumps(err)
      e = pickle.loads(s)
  
      self.assertEqual(err.msg, e.msg)
      self.assertEqual(err.doc, e.doc)
      self.assertEqual(err.pos, e.pos)
      self.assertEqual(err.end, e.end)
  
file_path: catboost/contrib/python/simplejson/py2/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 5 for calling the TestErrors obj's underlying member method code with example usage: obj.test_error_is_pickable() without return types