code: def test_max_str_digits(self):
      maxdigits = sys.get_int_max_str_digits()
  
      self.check("1" * (maxdigits + 1))
      self.check(" " + "1" * (maxdigits + 1))
      self.check("1" * (maxdigits + 1) + " ")
      self.check("+" + "1" * (maxdigits + 1))
      self.check("-" + "1" * (maxdigits + 1))
      self.check("1" * (maxdigits + 1))
  
      i = 10**maxdigits
      with self.assertRaises(ValueError):
          str(i)
  
imports: import sys
  import time
  import unittest
  from unittest import mock
  from test import support
  from test.test_grammar import VALID_UNDERSCORE_LITERALS, INVALID_UNDERSCORE_LITERALS
label_desc: Use image node_id 6 for calling the IntStrDigitLimitsTests obj's underlying member method code with example usage: obj.test_max_str_digits() without return types