mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
asyncio: Hopeful fix for issue 19765.
This commit is contained in:
parent
14c3e14053
commit
27bfe468cc
1 changed files with 1 additions and 0 deletions
|
|
@ -560,6 +560,7 @@ class EventLoopTestsMixin:
|
|||
client.connect(('127.0.0.1', port))
|
||||
client.sendall(b'xxx')
|
||||
test_utils.run_briefly(self.loop)
|
||||
test_utils.run_until(self.loop, lambda: proto is not None, 10)
|
||||
self.assertIsInstance(proto, MyProto)
|
||||
self.assertEqual('INITIAL', proto.state)
|
||||
test_utils.run_briefly(self.loop)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue