Fixed Python version check in testcases.py
This commit is contained in:
parent
fcc8de0598
commit
d69bd23b55
|
@ -917,7 +917,7 @@ class QuietWSGIRequestHandler(WSGIRequestHandler):
|
|||
pass
|
||||
|
||||
|
||||
if sys.version_info >= (2, 6, 0):
|
||||
if sys.version_info >= (2, 7, 0):
|
||||
_ImprovedEvent = threading._Event
|
||||
else:
|
||||
class _ImprovedEvent(threading._Event):
|
||||
|
|
Loading…
Reference in New Issue