summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-11-05 20:17:55 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-11-05 20:17:55 (GMT)
commit66c95c745b723badac4513d2ac4492eb08ef1b66 (patch)
tree68115e55a0ee3bf7b02f429c36bfbf1151d0d0c5 /Lib/test
parentdb1bad2d70a0c11f3540c172d341edc92ba68c30 (diff)
downloadcpython-66c95c745b723badac4513d2ac4492eb08ef1b66.zip
cpython-66c95c745b723badac4513d2ac4492eb08ef1b66.tar.gz
cpython-66c95c745b723badac4513d2ac4492eb08ef1b66.tar.bz2
Fix test_httplib when built without threads
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/ssl_servers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/ssl_servers.py b/Lib/test/ssl_servers.py
index 14d6aeb..da27c3a 100644
--- a/Lib/test/ssl_servers.py
+++ b/Lib/test/ssl_servers.py
@@ -3,13 +3,13 @@ import sys
import ssl
import pprint
import socket
-import threading
import urllib.parse
# Rename HTTPServer to _HTTPServer so as to avoid confusion with HTTPSServer.
from http.server import (HTTPServer as _HTTPServer,
SimpleHTTPRequestHandler, BaseHTTPRequestHandler)
from test import support
+threading = support.import_module("threading")
here = os.path.dirname(__file__)