STINNER Victor added the comment:

> After all the test does use run_briefly(), which might as well be renamed 
> run_with_race_condition().

Oh, it means that the "Future/Task exception was never retrieved" is a just a 
consequence of the failed assertion.

IMO the run_briefly() should be avoided, whereas it is used in many places. For 
example, the protocol used in test_create_server() should provide a future to 
wait until the protocol is connected.

----------

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

Reply via email to