Commit 10f08b35 authored by Denis Bilenko's avatar Denis Bilenko

test_ssl.py: use urllib.request/parse instead of urllib2/urlparse; use...

test_ssl.py: use urllib.request/parse instead of urllib2/urlparse; use http.server instead of HTTPServer
parent e4a2469b
......@@ -11,12 +11,25 @@ import gc
import os
import errno
import pprint
import urllib, urlparse
try:
from urllib import request as urllib
except:
import urllib
try:
import urlparse
except ImportError:
from urllib import parse as urlparse
import traceback
import weakref
from BaseHTTPServer import HTTPServer
from SimpleHTTPServer import SimpleHTTPRequestHandler
try:
from BaseHTTPServer import HTTPServer
from SimpleHTTPServer import SimpleHTTPRequestHandler
except ImportError:
from http.server import HTTPServer, SimpleHTTPRequestHandler
try:
bytearray
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment