diff options
author | Richard Oudkerk <shibturn@gmail.com> | 2013-06-10 15:31:39 (GMT) |
---|---|---|
committer | Richard Oudkerk <shibturn@gmail.com> | 2013-06-10 15:31:39 (GMT) |
commit | a35a128accfd2b9d07029387b97995f4854bca12 (patch) | |
tree | 4de2efca771e0668d24658ffad4f323042d5ea15 /Lib/test/test_subprocess.py | |
parent | cac17b4d78fdc8ad617e59281160749c91665fb3 (diff) | |
parent | 0e547b66dc206e46b69b91790aa73010290f4fcb (diff) | |
download | cpython-a35a128accfd2b9d07029387b97995f4854bca12.zip cpython-a35a128accfd2b9d07029387b97995f4854bca12.tar.gz cpython-a35a128accfd2b9d07029387b97995f4854bca12.tar.bz2 |
Merge.
Diffstat (limited to 'Lib/test/test_subprocess.py')
-rw-r--r-- | Lib/test/test_subprocess.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 50923e8..7899aeb 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -1296,7 +1296,8 @@ class POSIXProcessTestCase(BaseTestCase): self.stderr.fileno()), msg="At least one fd was closed early.") finally: - map(os.close, devzero_fds) + for fd in devzero_fds: + os.close(fd) @unittest.skipIf(not os.path.exists("/dev/zero"), "/dev/zero required.") def test_preexec_errpipe_does_not_double_close_pipes(self): |