'Make a copy of sys.path'

def setUp(self):

    super(TestSysConfig, self).setUp()
    self.sys_path = sys.path[:]
    self.makefile = None
    if hasattr(os, 'uname'):
        self.uname = os.uname
        self._uname = os.uname()
    else:
        self.uname = None
        self._uname = None
    os.uname = self._get_uname
    self.name = os.name
    self.platform = sys.platform
    self.version = sys.version
    self.sep = os.sep
    self.join = os.path.join
    self.isabs = os.path.isabs
    self.splitdrive = os.path.splitdrive
    self._config_vars = copy(sysconfig._CONFIG_VARS)
    self.old_environ = deepcopy(os.environ)
