code: def test_overflow(self):
      # Python 2.5 does not have maxsize, Python 3 does not have maxint
      maxsize = getattr(sys, "maxsize", getattr(sys, "maxint", None))
      assert maxsize is not None
      self.assertRaises(
          OverflowError, json.decoder.scanstring, "xxx", maxsize + 1
      )
  
file_path: catboost/contrib/python/simplejson/py2/simplejson/tests/test_scanstring.py
imports: import sys
  from unittest import TestCase
  import simplejson
  import simplejson.decoder
  from simplejson.compat import b, PY3
label_desc: Use image node_id 5 for calling the TestScanString obj's underlying member method code with example usage: obj.test_overflow() without return types