code: def test_syntax_error_on_deeply_nested_blocks(self):
      # This raises a SyntaxError, it used to raise a SystemError. Context
      # for this change can be found on issue #27514
  
      # In 2.5 there was a missing exception and an assert was triggered in a
      # debug build.  The number of blocks must be greater than CO_MAXBLOCKS.
      # SF #1565514
  
      source = """
  while 1:
   while 2:
    while 3:
     while 4:
      while 5:
       while 6:
        while 8:
         while 9:
          while 10:
           while 11:
            while 12:
             while 13:
              while 14:
               while 15:
                while 16:
                 while 17:
                  while 18:
                   while 19:
                    while 20:
                     while 21:
                      while 22:
                       break
  """
      self._check_error(source, "too many statically nested blocks")
  
imports: import re
  import doctest
  import textwrap
  import unittest
  from test import support
label_desc: Use image node_id 35 for calling the SyntaxTestCase obj's underlying member method code with example usage: obj.test_syntax_error_on_deeply_nested_blocks() without return types