Lines Matching refs:swap_attr
222 with support.swap_attr(tempfile, "_candidate_tempdir_list",
231 with support.swap_attr(io, "open", raise_OSError):
244 with support.swap_attr(io, "open", bad_writer):
278 with support.swap_attr(tempfile, 'tempdir', dir):
285 return support.swap_attr(tempfile,
310 with support.swap_attr(tempfile, 'tempdir', tempdir):
319 with support.swap_attr(tempfile, 'tempdir', tempdir):