STINNER Victor <[email protected]> added the comment:
The bug can be reproduced on Linux using this patch:
diff --git a/Lib/test/test_asyncio/test_sslproto.py
b/Lib/test/test_asyncio/test_sslproto.py
index 78ab1eb822..735313152c 100644
--- a/Lib/test/test_asyncio/test_sslproto.py
+++ b/Lib/test/test_asyncio/test_sslproto.py
@@ -471,6 +471,8 @@ class BaseStartTLS(func_tests.FunctionalTestCaseMixin):
self.assertEqual(proto.data, b'')
+ await asyncio.sleep(1)
+
new_tr = await self.loop.start_tls(
tr, proto, server_context,
server_side=True,
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue33694>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com