(self, fds)
| 2650 | return fds |
| 2651 | |
| 2652 | def _restore_fds(self, fds): |
| 2653 | for fd, saved, inheritable in fds: |
| 2654 | os.dup2(saved, fd, inheritable=inheritable) |
| 2655 | os.close(saved) |
| 2656 | |
| 2657 | def check_close_std_fds(self, fds): |
| 2658 | # Issue #9905: test that subprocess pipes still work properly with |
no test coverage detected