[Python-checkins] r87713 - python/branches/py3k/Lib/test/test_subprocess.py
antoine.pitrou
python-checkins at python.org
Mon Jan 3 23:12:43 CET 2011
Author: antoine.pitrou
Date: Mon Jan 3 23:12:43 2011
New Revision: 87713
Log:
Temporary debug output for intermittent failures in test_subprocess
Modified:
python/branches/py3k/Lib/test/test_subprocess.py
Modified: python/branches/py3k/Lib/test/test_subprocess.py
==============================================================================
--- python/branches/py3k/Lib/test/test_subprocess.py (original)
+++ python/branches/py3k/Lib/test/test_subprocess.py Mon Jan 3 23:12:43 2011
@@ -1170,6 +1170,10 @@
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,
More information about the Python-checkins
mailing list