code: def new_test(arch, cc):
      if is_standalone:
          return textwrap.dedent(
              """\
      class TestCCompilerOpt_{class_name}(_Test_CCompilerOpt, unittest.TestCase):
          arch = '{arch}'
          cc   = '{cc}'
          def __init__(self, methodName="runTest"):
              unittest.TestCase.__init__(self, methodName)
              self.setup_class()
      """
          ).format(class_name=arch + "_" + cc, arch=arch, cc=cc)
      return textwrap.dedent(
          """\
      class TestCCompilerOpt_{class_name}(_Test_CCompilerOpt):
          arch = '{arch}'
          cc   = '{cc}'
      """
      ).format(class_name=arch + "_" + cc, arch=arch, cc=cc)
  
imports: import re, textwrap, os
  from os import sys, path
  from distutils.errors import DistutilsError
label_desc: Use image node_id 1 for calling a global function with example usage: new_test(arch, cc) and returns: textwrap, textwrap