[issue39129] Incorrect import of TimeoutError while creating happy eyeballs connection

Andrew Svetlov report at bugs.python.org
Tue Dec 24 08:27:15 EST 2019


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

The main problem of mock-based tests in asyncio is that the tests become unreliably very easy after mocked asyncio internal changes.

I'm +0 on adding the proposed test. The better idea is serving on explicit AF_INET '127.0.0.1:<port>' address when the connection is established to AF_INET6 '[::1]:<port>'.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39129>
_______________________________________


More information about the Python-bugs-list mailing list