Lines Matching refs:os_helper
18 from test.support import os_helper
23 TESTFN = os_helper.TESTFN
81 os_helper.unlink(TESTFN)
83 os_helper.unlink(TESTFN)
86 dirpath = os_helper.TESTFN + 'd'
90 os_helper.rmtree(dirpath)
93 os_helper.rmtree(dirpath)
99 os_helper.rmtree(dirpath)
106 os_helper.rmtree(dirpath)
123 os_helper.unlink(mod_filename)
124 os_helper.rmtree('__pycache__')
154 with os_helper.temp_dir(path) as temp_path:
159 os_helper.rmtree(parent_dir)
163 with os_helper.temp_dir() as temp_path:
170 with os_helper.temp_dir(path) as temp_path:
190 with os_helper.temp_dir(path, quiet=True) as temp_path:
212 from test.support import os_helper
213 with os_helper.temp_cwd() as temp_path:
234 with os_helper.temp_dir() as temp_path:
235 with os_helper.change_cwd(temp_path) as new_cwd:
246 with os_helper.change_cwd(path) as new_cwd:
249 with os_helper.temp_dir() as parent_dir:
260 with os_helper.temp_dir() as parent_dir:
263 with os_helper.change_cwd(bad_dir, quiet=True) as new_cwd:
281 with os_helper.change_cwd(path=path, quiet=True):
296 with os_helper.temp_cwd(name=TESTFN):
305 with os_helper.temp_cwd(name=None) as new_cwd:
315 fd = os_helper.make_bad_fd()
674 start = os_helper.fd_count()
677 more = os_helper.fd_count()