Yury Selivanov added the comment:

> How am I supposed to handle the method being called with a Mock'ed 
> getaddrinfo?

Why would you call it that way?  Are regular asyncio users going to mock it in 
their production/test code?

If the only case for using mocks there are asyncio unittests -- just don't do 
that.

----------

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

Reply via email to