equal
deleted
inserted
replaced
86 yield |
86 yield |
87 finally: |
87 finally: |
88 for fd in fds: |
88 for fd in fds: |
89 try: |
89 try: |
90 os.close(fd) |
90 os.close(fd) |
91 except EnvironmentError: |
91 except OSError: |
92 pass |
92 pass |
93 |
93 |
94 |
94 |
95 # In the following, we set the FDs non-inheritable mainly to make it possible |
95 # In the following, we set the FDs non-inheritable mainly to make it possible |
96 # for tests to close the receiving end of the pipe / PTYs. |
96 # for tests to close the receiving end of the pipe / PTYs. |