mirror of
https://github.com/django/django.git
synced 2024-12-25 18:46:22 +00:00
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
Block a user