From 66c95c745b723badac4513d2ac4492eb08ef1b66 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Fri, 5 Nov 2010 20:17:55 +0000 Subject: Fix test_httplib when built without threads --- Lib/test/ssl_servers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__) -- cgit v0.12