[Python-checkins] cpython: asyncio: Hopeful fix for issue 19765.
guido.van.rossum
python-checkins at python.org
Mon Nov 25 19:06:44 CET 2013
http://hg.python.org/cpython/rev/368b74823c76
changeset: 87555:368b74823c76
user: Guido van Rossum <guido at python.org>
date: Mon Nov 25 10:06:34 2013 -0800
summary:
asyncio: Hopeful fix for issue 19765.
files:
Lib/test/test_asyncio/test_events.py | 1 +
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
--- a/Lib/test/test_asyncio/test_events.py
+++ b/Lib/test/test_asyncio/test_events.py
@@ -560,6 +560,7 @@
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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list