[New-bugs-announce] [issue32369] test_subprocess: last part of test_close_fds() doesn't check what's intended
Alexey Izbyshev
report at bugs.python.org
Mon Dec 18 14:23:30 EST 2017
New submission from Alexey Izbyshev <izbyshev at ispras.ru>:
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")
----------
components: Tests
messages: 308581
nosy: izbyshev
priority: normal
severity: normal
status: open
title: test_subprocess: last part of test_close_fds() doesn't check what's intended
type: behavior
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32369>
_______________________________________
More information about the New-bugs-announce
mailing list