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 xtreak
Recipients cjw296, mariocj89, michael.foord, xtreak
Date 2019-02-23.06:51:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550904704.81.0.829273897144.issue36092@roundup.psfhosted.org>
In-reply-to
Content
While looking into the unittest.mock tests I came across test_patch_descriptor [0] which makes an early return since patch.object and patch.dict are not supported on staticmethod, classmethod and property as noted in the comment. The tests still fail on master. The test was added during initial addition of mock to stdlib (commit 345266aa7e7) and I couldn't find any issues related to this. So I am filing this if someones wants to fix it.

[0] https://github.com/python/cpython/blob/175421b58cc97a2555e474f479f30a6c5d2250b0/Lib/unittest/test/testmock/testpatch.py#L667
History
Date User Action Args
2019-02-23 06:51:44xtreaksetrecipients: + xtreak, cjw296, michael.foord, mariocj89
2019-02-23 06:51:44xtreaksetmessageid: <1550904704.81.0.829273897144.issue36092@roundup.psfhosted.org>
2019-02-23 06:51:44xtreaklinkissue36092 messages
2019-02-23 06:51:44xtreakcreate