code: def test_version_int(self):
      source = self.mkdtemp()
      target = self.mkdtemp()
      expected = self.write_sample_scripts(source)
  
      cmd = self.get_build_scripts_cmd(
          target, [os.path.join(source, fn) for fn in expected]
      )
      cmd.finalize_options()
  
      # http://bugs.python.org/issue4524
      #
      # On linux-g++-32 with command line `./configure --enable-ipv6
      # --with-suffix=3`, python is compiled okay but the build scripts
      # failed when writing the name of the executable
      old = sysconfig.get_config_vars().get("VERSION")
      sysconfig._CONFIG_VARS["VERSION"] = 4
      try:
          cmd.run()
      finally:
          if old is not None:
              sysconfig._CONFIG_VARS["VERSION"] = old
  
      built = os.listdir(target)
      for name in expected:
          self.assertIn(name, built)
  
file_path: catboost/contrib/tools/python/src/Lib/distutils/tests/test_build_scripts.py
imports: import os
  import unittest
  from distutils.command.build_scripts import build_scripts
  from distutils.core import Distribution
  import sysconfig
  from distutils.tests import support
  from test.test_support import run_unittest
label_desc: Use image node_id 6 for calling the BuildScriptsTestCase obj's underlying member method code with example usage: obj.test_version_int() without return types