summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2013-11-25 18:06:34 (GMT)
committerGuido van Rossum <guido@python.org>2013-11-25 18:06:34 (GMT)
commit27bfe468cc69ad83e0b0aaaf60bf368d6ba44a4d (patch)
treed4b3639108727e99ec1024965cbf658b2a17aeb2
parent14c3e1405350b0ba761877d719edcac6d1f696a5 (diff)
downloadcpython-27bfe468cc69ad83e0b0aaaf60bf368d6ba44a4d.zip
cpython-27bfe468cc69ad83e0b0aaaf60bf368d6ba44a4d.tar.gz
cpython-27bfe468cc69ad83e0b0aaaf60bf368d6ba44a4d.tar.bz2
asyncio: Hopeful fix for issue 19765.
-rw-r--r--Lib/test/test_asyncio/test_events.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py
index a9c6385..6abc724 100644
--- a/Lib/test/test_asyncio/test_events.py
+++ b/Lib/test/test_asyncio/test_events.py
@@ -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)