aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_socket.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_socket.py')
-rwxr-xr-xLib/test/test_socket.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index dc1330735df..cff07b46c7a 100755
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -1,6 +1,7 @@
import unittest
from test import support
from test.support import socket_helper
+from test.support import threading_helper
import errno
import io
@@ -336,7 +337,7 @@ class ThreadableTest:
self.server_ready.set()
def _setUp(self):
- self.wait_threads = support.wait_threads_exit()
+ self.wait_threads = threading_helper.wait_threads_exit()
self.wait_threads.__enter__()
self.server_ready = threading.Event()
@@ -6665,9 +6666,9 @@ def test_main():
])
tests.append(TestMSWindowsTCPFlags)
- thread_info = support.threading_setup()
+ thread_info = threading_helper.threading_setup()
support.run_unittest(*tests)
- support.threading_cleanup(*thread_info)
+ threading_helper.threading_cleanup(*thread_info)
if __name__ == "__main__":