def _set_environ(self, env, name, value):
        if value is self.Unset:
            try:
                del env[name]
            except __HOLE__:
                pass
        else:
            env[name] = value
dataset/ETHPy150Open Masood-M/yalih/mechanize/_testcase.py/MonkeyPatcher._set_environ