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