8000 gh-76785: Module-level Fixes for test.support.interpreters by ericsnowcurrently · Pull Request #110236 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-76785: Module-level Fixes for test.support.interpreters #110236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Oct 2, 2023
Prev Previous commit
Fix _ChannelEnd.__init__().
  • Loading branch information
ericsnowcurrently committed Oct 2, 2023
commit a8f6e5e63856a9eac1f6f7ccd3adff90bd26ed13
4 changes: 2 additions & 2 deletions Lib/test/support/interpreters.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ class _ChannelEnd:

def __init__(self, cid):
if self._end == 'send':
cid = _channels._channel_id(cid, send=True)
cid = _channels._channel_id(cid, send=True, force=True)
elif self._end == 'recv':
cid = _channels._channel_id(cid, recv=True)
cid = _channels._channel_id(cid, recv=True, force=True)
else:
raise NotImplementedError(self._end)
self._id = cid
Expand Down
0