code: def setUp(self):
      super(TestSysConfig, self).setUp()
      self.sys_path = sys.path[:]
      # patching os.uname
      if hasattr(os, "uname"):
          self.uname = os.uname
          self._uname = os.uname()
      else:
          self.uname = None
          self._set_uname(("",) * 5)
      os.uname = self._get_uname
      # saving the environment
      self.name = os.name
      self.platform = sys.platform
      self.version = sys.version
      self._framework = sys._framework
      self.sep = os.sep
      self.join = os.path.join
      self.isabs = os.path.isabs
      self.splitdrive = os.path.splitdrive
      self._config_vars = sysconfig._CONFIG_VARS, copy(
          sysconfig._CONFIG_VARS
      )
      self._added_envvars = []
      self._changed_envvars = []
      for var in ("MACOSX_DEPLOYMENT_TARGET", "PATH"):
          if var in os.environ:
              self._changed_envvars.append((var, os.environ[var]))
          else:
              self._added_envvars.append(var)
  
imports: import unittest
  import sys
  import os
  import subprocess
  import shutil
  from copy import copy
  from test.support import captured_stdout, PythonSymlink, requires_subprocess, is_wasi
  from test.support.import_helper import import_module
  from test.support.os_helper import TESTFN, unlink, skip_unless_symlink, change_cwd
  import sysconfig
  from sysconfig import get_paths, get_platform, get_config_vars, get_path, get_path_names, _INSTALL_SCHEMES, get_default_scheme, get_scheme_names, get_config_var, _expand_vars, _get_preferred_schemes
  from sysconfig.__main__ import _main, _parse_makefile
  import _imp
  import _osx_support
  import _sysconfig
label_desc: Use image node_id 1 for calling the TestSysConfig obj's underlying member method code with example usage: obj.setUp() without return types