Home | History | Annotate | Download | only in test

Lines Matching defs:environ

57 # os.environ.  We then use 'eval' to parse the child's output so that an
59 os.environ['EMPTY_VAR'] = ''
61 [sys.executable, '-c', 'import os; print \'EMPTY_VAR\' in os.environ'])
68 # is NO LONGER in os.environ.
71 os.environ['UNSET_VAR'] = 'X'
72 del os.environ['UNSET_VAR']
74 [sys.executable, '-c', 'import os; print \'UNSET_VAR\' not in os.environ'])
166 environ = os.environ.copy()
173 environ[env_var] = value
174 elif env_var in environ:
175 del environ[env_var]
182 env=environ).output
188 p = gtest_test_utils.Subprocess([COMMAND] + (args or []), env=environ)
207 original_env = environ.copy()
208 environ.update(extra_env)
211 environ.clear()
212 environ.update(original_env)