Mark Dickinson <dicki...@gmail.com> added the comment:

Here's a patch:

 - add a time.sleep(1.0) in between calls to kq.control
 - restructure for loop slightly: move initial kq.control call inside it 
 - bump number of trials from 5 to 10 (why not?!)
 - produce more meaningful error message in the unlikely event
   that we never get the 4 events we're waiting for

----------
keywords: +patch
Added file: http://bugs.python.org/file12828/issue5025.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5025>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to