Searched refs:old_env (Results 1 – 3 of 3) sorted by relevance
43 const char* old_env = std::getenv(TestReporter::kTestReporterEnv); in TEST() local62 if (old_env == nullptr) { in TEST()65 setenv(TestReporter::kTestReporterEnv, old_env, 1); in TEST()
326 %old_env = %ENV;1268 $old_env{'foo'} = 'bar';
1526 old_env = os.environ.get(path_var, None)1530 if old_env is None:1533 os.environ[path_var] = old_env # pragma: nocover