This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients gvanrossum, sebastien.bourdeauducq, vstinner, yselivanov, ysionneau
Date 2015-08-27.16:48:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440694121.73.0.304948279865.issue23630@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2015-08-27 16:48:41yselivanovsetrecipients: + yselivanov, gvanrossum, vstinner, sebastien.bourdeauducq, ysionneau
2015-08-27 16:48:41yselivanovsetmessageid: <1440694121.73.0.304948279865.issue23630@psf.upfronthosting.co.za>
2015-08-27 16:48:41yselivanovlinkissue23630 messages
2015-08-27 16:48:41yselivanovcreate