mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[py3] Avoided relying on 2.x-only internals
in LiveServerTestCase.
This commit is contained in:
		| @@ -917,6 +917,9 @@ class QuietWSGIRequestHandler(WSGIRequestHandler): | ||||
|         pass | ||||
|  | ||||
|  | ||||
| if sys.version_info >= (2, 6, 0): | ||||
|     _ImprovedEvent = threading._Event | ||||
| else: | ||||
|     class _ImprovedEvent(threading._Event): | ||||
|         """ | ||||
|         Does the same as `threading.Event` except it overrides the wait() method | ||||
|   | ||||
		Reference in New Issue
	
	Block a user