We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95aaeee commit c43ec08Copy full SHA for c43ec08
1 file changed
Lib/test/test_subprocess.py
@@ -1170,6 +1170,10 @@ def test_pass_fds(self):
1170
1171
remaining_fds = set(map(int, output.split(b',')))
1172
to_be_closed = open_fds - {fd}
1173
+ # Temporary debug output for intermittent failures
1174
+ if support.verbose:
1175
+ print(" -- fds that should have been closed:", to_be_closed)
1176
+ print(" -- fds that remained open:", remaining_fds)
1177
1178
self.assertIn(fd, remaining_fds, "fd to be passed not passed")
1179
self.assertFalse(remaining_fds & to_be_closed,
0 commit comments