diff options
author | izbyshev <izbyshev@users.noreply.github.com> | 2017-12-19 03:26:49 +0700 |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2017-12-18 12:26:49 -0800 |
commit | 2d8f06382e7d5a759ca554110a699a397114824a (patch) | |
tree | 32c4a259d4992e732710d1860d09dece1eae48b7 /Python/pylifecycle.c | |
parent | 02e4b7f35419a632b21d17435a61729b97ca0804 (diff) | |
download | cpython-git-2d8f06382e7d5a759ca554110a699a397114824a.tar.gz |
bpo-32369: test_subprocess: Fix pass_fds check in test_close_fds() (#4920)
The last part of test_close_fds() doesn't match its own comment.
The following assertion always holds because fds_to_keep and open_fds
are disjoint by construction.
self.assertFalse(remaining_fds & fds_to_keep & open_fds,
"Some fds not in pass_fds were left open")
Fix the code to match the message in the assertion.
Diffstat (limited to 'Python/pylifecycle.c')
0 files changed, 0 insertions, 0 deletions