mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-84570: Implement Waiting in SendChannel.send() (gh-110565)
We had been faking it (poorly). We will add timeouts separately.
This commit is contained in:
parent
46462ff929
commit
757cc35b6b
4 changed files with 182 additions and 109 deletions
|
@ -964,8 +964,8 @@ class TestSendRecv(TestBase):
|
|||
|
||||
orig = b'spam'
|
||||
s.send(orig)
|
||||
t.join()
|
||||
obj = r.recv()
|
||||
t.join()
|
||||
|
||||
self.assertEqual(obj, orig)
|
||||
self.assertIsNot(obj, orig)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue