Skip to content

Commit c43ec08

Browse files
committed
Temporary debug output for intermittent failures in test_subprocess
1 parent 95aaeee commit c43ec08

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lib/test/test_subprocess.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,6 +1170,10 @@ def test_pass_fds(self):
11701170

11711171
remaining_fds = set(map(int, output.split(b',')))
11721172
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)
11731177

11741178
self.assertIn(fd, remaining_fds, "fd to be passed not passed")
11751179
self.assertFalse(remaining_fds & to_be_closed,

0 commit comments

Comments
 (0)