Home
last modified time | relevance | path

Searched refs:new_cwd (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_support.py167 with support.change_cwd(temp_path) as new_cwd:
168 self.assertEqual(new_cwd, temp_path)
169 self.assertEqual(os.getcwd(), new_cwd)
178 with support.change_cwd(path) as new_cwd:
195 with support.change_cwd(bad_dir, quiet=True) as new_cwd:
196 self.assertEqual(new_cwd, original_cwd)
197 self.assertEqual(os.getcwd(), new_cwd)
227 with support.temp_cwd(name=None) as new_cwd:
228 self.assertNotEqual(new_cwd, original_cwd)
229 self.assertTrue(os.path.isdir(new_cwd))
[all …]
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.current_path/
Dcurrent_path.pass.cpp78 const path new_cwd = current_path(); in TEST_CASE() local
79 TEST_CHECK(new_cwd == StaticEnv::Dir2); in TEST_CASE()
80 TEST_CHECK(new_cwd.is_absolute()); in TEST_CASE()