From: Alex Waygood Date: Thu, 10 Mar 2022 21:36:22 +0000 (+0000) Subject: bpo-46198: Fix `test_asyncio.test_sslproto` (GH-31801) X-Git-Tag: v3.11.0a7~285 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4052dd2296da2ff304b1fa787b100befffa1c9ca;p=thirdparty%2FPython%2Fcpython.git bpo-46198: Fix `test_asyncio.test_sslproto` (GH-31801) GH-30297 removed a duplicate `from test import support` statement from `test_asyncio.test_sslproto`. However, in between that PR being filed and it being merged, GH-31275 removed the _other_ `from test import support` statement. This means that `support` is now undefined in `test_asyncio.test_sslproto`, causing the CI to fail on all platforms for all PRS. --- diff --git a/Lib/test/test_asyncio/test_sslproto.py b/Lib/test/test_asyncio/test_sslproto.py index 4095b4dfa84e..52a45f1c7c6e 100644 --- a/Lib/test/test_asyncio/test_sslproto.py +++ b/Lib/test/test_asyncio/test_sslproto.py @@ -4,6 +4,7 @@ import logging import socket import unittest import weakref +from test import support from unittest import mock try: import ssl