Lines Matching refs:addCleanup

172         self.addCleanup(tf.close)
201 self.addCleanup(tf.close)
251 self.addCleanup(p.stdout.close)
252 self.addCleanup(p.stderr.close)
273 self.addCleanup(p.stdout.close)
274 self.addCleanup(p.stderr.close)
283 self.addCleanup(p.stdout.close)
284 self.addCleanup(p.stdin.close)
348 self.addCleanup(p.stdout.close)
446 self.addCleanup(tf.close)
459 self.addCleanup(tf.close)
479 self.addCleanup(tf.close)
491 self.addCleanup(tf.close)
510 self.addCleanup(tf.close)
522 self.addCleanup(tf.close)
566 self.addCleanup(tf.close)
591 self.addCleanup(p.stdout.close)
592 self.addCleanup(p.stderr.close)
735 self.addCleanup(p.stdout.close)
736 self.addCleanup(p.stderr.close)
737 self.addCleanup(p.stdin.close)
824 self.addCleanup(p.stdout.close)
825 self.addCleanup(p.stderr.close)
826 self.addCleanup(p.stdin.close)
839 self.addCleanup(p.stdout.close)
840 self.addCleanup(p.stderr.close)
841 self.addCleanup(p.stdin.close)
878 self.addCleanup(p.stdout.close)
905 self.addCleanup(p.stdout.close)
906 self.addCleanup(p.stderr.close)
956 self.addCleanup(p.stdout.close)
957 self.addCleanup(p.stderr.close)
1070 self.addCleanup(p.stdin.close)
1312 self.addCleanup(p.stdout.close)
1313 self.addCleanup(p.stderr.close)
1314 self.addCleanup(p.stdin.close)
1321 self.addCleanup(p.stdin.close)
1336 self.addCleanup(signal.signal, signal.SIGUSR1, old_handler)
1425 self.addCleanup(tf.close)
1443 self.addCleanup(tf.close)
1486 self.addCleanup(tf.close)
1498 self.addCleanup(tf.close)
1805 self.addCleanup(setrlimit, RLIMIT_NPROC, limits)
2285 self.addCleanup(p1.communicate, b'')
2315 self.addCleanup(p1.wait)
2316 self.addCleanup(p2.wait)
2327 self.addCleanup(kill_p1)
2328 self.addCleanup(kill_p2)
2345 self.addCleanup(os.close, fds[0])
2346 self.addCleanup(os.close, fds[1])
2352 self.addCleanup(os.close, fd)
2480 self.addCleanup(os.close, fds[0])
2481 self.addCleanup(os.close, fds[1])
2510 self.addCleanup(os.close, inheritable)
2511 self.addCleanup(os.close, non_inheritable)
2542 self.addCleanup(os.close, fd)
2546 self.addCleanup(os.close, stdout_r)
2547 self.addCleanup(os.close, stdout_w)
2601 self.addCleanup(f.close)
2618 self.addCleanup(p.stdout.close)
2619 self.addCleanup(p.stderr.close)
2639 self.addCleanup(p.stdout.close)
2640 self.addCleanup(p.stderr.close)
2668 self.addCleanup(os.close, fd)
2911 self.addCleanup(os.close, fds[0])
2912 self.addCleanup(os.close, fds[1])