We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e14839 commit 1a1adfcCopy full SHA for 1a1adfc
Lib/test/support/interpreters.py
@@ -218,7 +218,7 @@ def send(self, obj, timeout=None):
218
219
This blocks until the object is received.
220
"""
221
- _channels.send(self._id, obj, timeout=timeout)
+ _channels.send(self._id, obj, timeout=timeout, blocking=True)
222
223
def send_nowait(self, obj):
224
"""Send the object to the channel's receiving end.
@@ -231,12 +231,12 @@ def send_nowait(self, obj):
231
# See bpo-32604 and gh-19829.
232
return _channels.send(self._id, obj, blocking=False)
233
234
- def send_buffer(self, obj):
+ def send_buffer(self, obj, timeout=None):
235
"""Send the object's buffer to the channel's receiving end.
236
237
238
239
- _channels.send_buffer(self._id, obj, blocking=True)
+ _channels.send_buffer(self._id, obj, timeout=timeout, blocking=True)
240
241
def send_buffer_nowait(self, obj):
242
0 commit comments