code: def test_scan_error(self):
      err = None
      for t in (text_type, b):
          try:
              json.loads(t('{"asdf": "'))
          except json.JSONDecodeError:
              err = sys.exc_info()[1]
          else:
              self.fail("Expected JSONDecodeError")
          self.assertEqual(err.lineno, 1)
          self.assertEqual(err.colno, 10)
  
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 4 for calling the TestErrors obj's underlying member method code with example usage: obj.test_scan_error() without return types