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 lisroach
Recipients cjw296, lisroach, mariocj89, michael.foord, stanislavlevin, xtreak
Date 2020-10-19.19:15:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603134955.27.0.424360938351.issue41954@roundup.psfhosted.org>
In-reply-to
Content
Oof yeah, sorry my commit broke this but it is pretty hard to avoid. Mario is right in that it would be messy and challenging to ensure anything mocked from the stdlib doesn't also break mock itself.  

I want to mark this as `wont fix`, unless there is a compelling reason for the stdlib's `inspect.isfunction` to be mockable. But I agree with Mario again here, it would be better to mock the module that is using the function rather than the built-in function itself.
History
Date User Action Args
2020-10-19 19:15:55lisroachsetrecipients: + lisroach, cjw296, michael.foord, mariocj89, xtreak, stanislavlevin
2020-10-19 19:15:55lisroachsetmessageid: <1603134955.27.0.424360938351.issue41954@roundup.psfhosted.org>
2020-10-19 19:15:55lisroachlinkissue41954 messages
2020-10-19 19:15:55lisroachcreate