[issue19305] sporadic test_asyncio failure under FreeBSD
Guido van Rossum
report at bugs.python.org
Sun Oct 20 01:47:44 CEST 2013
Guido van Rossum added the comment:
That patch looks good except please don't call it wait_for(), since there's already tasks.wait_for(). You can call it run_until().
Having to pass the loop to sleep() is only really required in the tests -- there was a movement a while ago (started by Alex Gaynor and supported by Glyph) to always pass in an explicit loop; my compromise was to force the tests to always pass in a loop (by using set_event_loop(None)).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19305>
_______________________________________
More information about the Python-bugs-list
mailing list