8000 Hopeful fix for CPython issue 19765. · Python-Repository-Hub/asyncio@0fb81e1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0fb81e1

Browse files
committed
Hopeful fix for CPython issue 19765.
1 parent 5c334cc commit 0fb81e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_events.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,7 @@ def factory():
560560
client.connect(('127.0.0.1', port))
561561
client.sendall(b'xxx')
562562
test_utils.run_briefly(self.loop)
563+
test_utils.run_until(self.loop, lambda: proto is not None, 10)
563564
self.assertIsInstance(proto, MyProto)
564565
self.assertEqual('INITIAL', proto.state)
565566
test_utils.run_briefly(self.loop)

0 commit comments

Comments
 (0)
0