diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-05 20:17:55 +0000 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-05 20:17:55 +0000 |
commit | d14ff8710eb029df4987ba40302965b8756308fc (patch) | |
tree | a88855afab361b765375056ea41a3c4dc86eab97 /Lib/test/ssl_servers.py | |
parent | 40a0061ce37445da7b91d4b3810e29e66b49cffd (diff) | |
download | cpython-d14ff8710eb029df4987ba40302965b8756308fc.tar.gz |
Fix test_httplib when built without threads
Diffstat (limited to 'Lib/test/ssl_servers.py')
-rw-r--r-- | Lib/test/ssl_servers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/ssl_servers.py b/Lib/test/ssl_servers.py index 14d6aeb628..da27c3a012 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__) |