Commit e4a2469b authored by Denis Bilenko's avatar Denis Bilenko

test__greenness.py: on py3k use urllib.request instead of urllib2 and...

test__greenness.py: on py3k use urllib.request instead of urllib2 and http.server instead of BaseHTTPServer
parent fda79712
......@@ -27,8 +27,14 @@ from gevent import monkey
monkey.patch_all()
import greentest
import urllib2
import BaseHTTPServer
try:
import urllib2
except ImportError:
from urllib import request as urllib2
try:
import BaseHTTPServer
except ImportError:
from http import server as BaseHTTPServer
import gevent
......
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