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 Ilya.Kulakov, giampaolo.rodola, ncoghlan, thehesiod, veky, yselivanov
Date 2017-08-19.17:04:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1503162290.42.0.868154945404.issue29302@psf.upfronthosting.co.za>
In-reply-to
Content
>> but at the same time rejected by the 'async with' statement.

> Perhaps unittest.mock (or type) needs to be adjusted to allow mocking via spec= without subclassing?

Maybe. You should try to find discussions around this topic on python mailing lists and this tracker. If you find nothing then feel free to open an issue and add Michael Foord to nosy list.
History
Date User Action Args
2017-08-19 17:04:50yselivanovsetrecipients: + yselivanov, ncoghlan, giampaolo.rodola, thehesiod, veky, Ilya.Kulakov
2017-08-19 17:04:50yselivanovsetmessageid: <1503162290.42.0.868154945404.issue29302@psf.upfronthosting.co.za>
2017-08-19 17:04:50yselivanovlinkissue29302 messages
2017-08-19 17:04:50yselivanovcreate