Commit a74736c5 authored by Denis Bilenko's avatar Denis Bilenko

test__greenness.py: import greentest before monkey patching, since patch_all()...

test__greenness.py: import greentest before monkey patching, since patch_all() installs hub and greentest monkey patches Hub class
parent 78f49c5d
......@@ -23,11 +23,10 @@
To do that spawn a green server and then access it using a green socket.
If either operation blocked the whole script would block and timeout.
"""
import greentest
from gevent import monkey
monkey.patch_all()
import sys
import greentest
try:
import urllib2
except ImportError:
......
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