Skip to content

Commit c101d1a

Browse files
bpo-35031: also disable TLS 1.3 for test_start_tls_server_1 on macOS (GH-14188) (GH-14192)
(cherry picked from commit a514f78) Co-authored-by: Ned Deily <[email protected]>
1 parent 0f3abbc commit c101d1a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Lib/test/test_asyncio/test_sslproto.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,11 +495,13 @@ def test_start_tls_server_1(self):
495495

496496
server_context = test_utils.simple_server_sslcontext()
497497
client_context = test_utils.simple_client_sslcontext()
498-
if sys.platform.startswith('freebsd') or sys.platform.startswith('win'):
498+
if (sys.platform.startswith('freebsd')
499+
or sys.platform.startswith('win')
500+
or sys.platform.startswith('darwin')):
499501
# bpo-35031: Some FreeBSD and Windows buildbots fail to run this test
500502
# as the eof was not being received by the server if the payload
501503
# size is not big enough. This behaviour only appears if the
502-
# client is using TLS1.3.
504+
# client is using TLS1.3. Also seen on macOS.
503505
client_context.options |= ssl.OP_NO_TLSv1_3
504506
answer = None
505507

0 commit comments

Comments
 (0)