Commit b6b457a7 authored by Guido van Rossum's avatar Guido van Rossum

asyncio: Hopeful fix for issue 19765.

parent 056143a9
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment