summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2013-11-25 10:09:21 -0800
committerGuido van Rossum <guido@python.org>2013-11-25 10:09:21 -0800
commit0fb81e1ce0f2da62d15b192d4430e369b7e60486 (patch)
tree9088a08de22cf24e545396ae0d702db5a233b6ec /tests
parent5c334cc9ccb7c2c9846d2395cf57381b7209fa0f (diff)
downloadtrollius-git-0fb81e1ce0f2da62d15b192d4430e369b7e60486.tar.gz
Hopeful fix for CPython issue 19765.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_events.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_events.py b/tests/test_events.py
index a9c6385..6abc724 100644
--- a/tests/test_events.py
+++ b/tests/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)