summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio
diff options
context:
space:
mode:
authorAlex Waygood <Alex.Waygood@Gmail.com>2022-03-10 21:36:22 (GMT)
committerGitHub <noreply@github.com>2022-03-10 21:36:22 (GMT)
commit4052dd2296da2ff304b1fa787b100befffa1c9ca (patch)
tree2317bb35a24538b32d2ec81c9a547e22b7217663 /Lib/test/test_asyncio
parent434ffb7f1f86e6b0cdfad3ede59993934d86e464 (diff)
downloadcpython-4052dd2296da2ff304b1fa787b100befffa1c9ca.zip
cpython-4052dd2296da2ff304b1fa787b100befffa1c9ca.tar.gz
cpython-4052dd2296da2ff304b1fa787b100befffa1c9ca.tar.bz2
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.
Diffstat (limited to 'Lib/test/test_asyncio')
-rw-r--r--Lib/test/test_asyncio/test_sslproto.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_sslproto.py b/Lib/test/test_asyncio/test_sslproto.py
index 4095b4d..52a45f1 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