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 shmed
Recipients anfedorov, michael.foord, shmed
Date 2016-11-11.17:08:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478884088.82.0.173051232391.issue28569@psf.upfronthosting.co.za>
In-reply-to
Content
So from what I have understood, manager.attach_mock must raise an Exception when it is called with a wrong attribute, since the patch is called with autospec=True and you cannot call a mock with non existing attributes.Is that correct?
History
Date User Action Args
2016-11-11 17:08:08shmedsetrecipients: + shmed, michael.foord, anfedorov
2016-11-11 17:08:08shmedsetmessageid: <1478884088.82.0.173051232391.issue28569@psf.upfronthosting.co.za>
2016-11-11 17:08:08shmedlinkissue28569 messages
2016-11-11 17:08:08shmedcreate