Message 333226 - Python tracker

Message333226

Author eamanu
Recipients docs@python, eamanu, michael.foord
Date 2019-01-08.12:37:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546951077.39.0.591357222806.issue35685@roundup.psfhosted.org>
In-reply-to
Content
Hi!

I create this PR to add a samples of the use of patch.dict with decorator on method and class. I think that is a good improve because the doc mentions the use of patch.dict with decorator on method and class but don't show any samples. 

Other, question, why on unittest.mock documentation is used `assert *something* == *something*` and it is not used the assertEquals (and others)? IMHO this would be better for unittest docs.

Regards
History
Date User Action Args
2019-01-08 12:37:59eamanusetrecipients: + eamanu, michael.foord, docs@python
2019-01-08 12:37:57eamanusetmessageid: <1546951077.39.0.591357222806.issue35685@roundup.psfhosted.org>
2019-01-08 12:37:57eamanulinkissue35685 messages
2019-01-08 12:37:57eamanucreate