Skip to content
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