Lines Matching refs:addCleanup
181 self.addCleanup(tf.close)
210 self.addCleanup(tf.close)
260 self.addCleanup(p.stdout.close)
261 self.addCleanup(p.stderr.close)
282 self.addCleanup(p.stdout.close)
283 self.addCleanup(p.stderr.close)
292 self.addCleanup(p.stdout.close)
293 self.addCleanup(p.stdin.close)
379 self.addCleanup(p.stdout.close)
482 self.addCleanup(tf.close)
495 self.addCleanup(tf.close)
515 self.addCleanup(tf.close)
527 self.addCleanup(tf.close)
546 self.addCleanup(tf.close)
558 self.addCleanup(tf.close)
602 self.addCleanup(tf.close)
627 self.addCleanup(p.stdout.close)
628 self.addCleanup(p.stderr.close)
771 self.addCleanup(p.stdout.close)
772 self.addCleanup(p.stderr.close)
773 self.addCleanup(p.stdin.close)
860 self.addCleanup(p.stdout.close)
861 self.addCleanup(p.stderr.close)
862 self.addCleanup(p.stdin.close)
875 self.addCleanup(p.stdout.close)
876 self.addCleanup(p.stderr.close)
877 self.addCleanup(p.stdin.close)
914 self.addCleanup(p.stdout.close)
941 self.addCleanup(p.stdout.close)
942 self.addCleanup(p.stderr.close)
992 self.addCleanup(p.stdout.close)
993 self.addCleanup(p.stderr.close)
1106 self.addCleanup(p.stdin.close)
1349 self.addCleanup(p.stdout.close)
1350 self.addCleanup(p.stderr.close)
1351 self.addCleanup(p.stdin.close)
1358 self.addCleanup(p.stdin.close)
1373 self.addCleanup(signal.signal, signal.SIGUSR1, old_handler)
1462 self.addCleanup(tf.close)
1480 self.addCleanup(tf.close)
1551 self.addCleanup(tf.close)
1563 self.addCleanup(tf.close)
1891 self.addCleanup(setrlimit, RLIMIT_NPROC, limits)
2372 self.addCleanup(p1.communicate, b'')
2402 self.addCleanup(p1.wait)
2403 self.addCleanup(p2.wait)
2414 self.addCleanup(kill_p1)
2415 self.addCleanup(kill_p2)
2432 self.addCleanup(os.close, fds[0])
2433 self.addCleanup(os.close, fds[1])
2439 self.addCleanup(os.close, fd)
2567 self.addCleanup(os.close, fds[0])
2568 self.addCleanup(os.close, fds[1])
2597 self.addCleanup(os.close, inheritable)
2598 self.addCleanup(os.close, non_inheritable)
2629 self.addCleanup(os.close, fd)
2633 self.addCleanup(os.close, stdout_r)
2634 self.addCleanup(os.close, stdout_w)
2688 self.addCleanup(f.close)
2705 self.addCleanup(p.stdout.close)
2706 self.addCleanup(p.stderr.close)
2730 self.addCleanup(p.stdout.close)
2731 self.addCleanup(p.stderr.close)
2767 self.addCleanup(os.close, fd)
3010 self.addCleanup(os.close, fds[0])
3011 self.addCleanup(os.close, fds[1])