Lines Matching defs:support
18 from test import support
19 from test.support import os_helper
20 from test.support import script_helper
21 from test.support import warnings_helper
198 @support.requires_fork()
220 support.wait_process(pid, exitcode=0)
280 with support.swap_attr(tempfile, "_candidate_tempdir_list",
289 with support.swap_attr(os, "open", raise_OSError):
295 with support.swap_attr(os, "write", raise_OSError):
322 with support.swap_attr(tempfile, 'tempdir', dir):
329 return support.swap_attr(tempfile,
337 support.is_emscripten, "Emscripten cannot remove write bits."
356 with support.swap_attr(tempfile, 'tempdir', tempdir):
364 with support.swap_attr(tempfile, 'tempdir', tempdir):
446 support.gc_collect() # For PyPy or other GCs.
464 @support.requires_subprocess()
468 if support.verbose:
928 support.gc_collect() # For PyPy or other GCs.
975 if support.check_impl_detail(cpython=True):
1142 support.is_emscripten, "Emscripten cannot fstat renamed files."
1370 support.is_emscripten, "Emscripten cannot fstat renamed files."
1682 @support.cpython_only
1695 @support.cpython_only
1821 support.gc_collect()
1863 self.skipTest(f"chflags() doesn't support flags "