summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_subprocess.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-02-21 21:58:42 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-02-21 21:58:42 (GMT)
commita47c25d74f45268aff6d8407195ee83f3a83a90e (patch)
treeb79125fbbb98de5f024545cd2393beb01fcff705 /Lib/test/test_subprocess.py
parenta16b05b317d1f6d6fd80f1dd4e7c0800d4d4cffa (diff)
downloadcpython-a47c25d74f45268aff6d8407195ee83f3a83a90e.zip
cpython-a47c25d74f45268aff6d8407195ee83f3a83a90e.tar.gz
cpython-a47c25d74f45268aff6d8407195ee83f3a83a90e.tar.bz2
Merged revisions 88484 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88484 | antoine.pitrou | 2011-02-21 22:55:48 +0100 (lun., 21 févr. 2011) | 4 lines Issue #10826: Prevent sporadic failure in test_subprocess on Solaris due to open door files. ........
Diffstat (limited to 'Lib/test/test_subprocess.py')
-rw-r--r--Lib/test/test_subprocess.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
index cf6684d..4b58308 100644
--- a/Lib/test/test_subprocess.py
+++ b/Lib/test/test_subprocess.py
@@ -1156,9 +1156,6 @@ class POSIXProcessTestCase(BaseTestCase):
open_fds = set()
- if support.verbose:
- print(" -- maxfd =", subprocess.MAXFD)
-
for x in range(5):
fds = os.pipe()
self.addCleanup(os.close, fds[0])
@@ -1173,10 +1170,6 @@ class POSIXProcessTestCase(BaseTestCase):
remaining_fds = set(map(int, output.split(b',')))
to_be_closed = open_fds - {fd}
- # Temporary debug output for intermittent failures
- if support.verbose:
- print(" -- fds that should have been closed:", to_be_closed)
- print(" -- fds that remained open:", remaining_fds)
self.assertIn(fd, remaining_fds, "fd to be passed not passed")
self.assertFalse(remaining_fds & to_be_closed,