summaryrefslogtreecommitdiff
path: root/Lib/test/test_urllib2_localnet.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_urllib2_localnet.py')
-rw-r--r--Lib/test/test_urllib2_localnet.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/test_urllib2_localnet.py b/Lib/test/test_urllib2_localnet.py
index ed426b05a7..e568cc4575 100644
--- a/Lib/test/test_urllib2_localnet.py
+++ b/Lib/test/test_urllib2_localnet.py
@@ -10,6 +10,7 @@ import hashlib
from test import support
from test.support import hashlib_helper
+from test.support import threading_helper
try:
import ssl
@@ -666,11 +667,11 @@ def setUpModule():
# Store the threading_setup in a key and ensure that it is cleaned up
# in the tearDown
global threads_key
- threads_key = support.threading_setup()
+ threads_key = threading_helper.threading_setup()
def tearDownModule():
if threads_key:
- support.threading_cleanup(*threads_key)
+ threading_helper.threading_cleanup(*threads_key)
if __name__ == "__main__":
unittest.main()