classification
Title: Add samples on patch.dict of the use of decorator and in class
Type: enhancement Stage: patch review
Components: Documentation Versions: Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, eamanu, michael.foord
Priority: normal Keywords: patch, patch, patch

Created on 2019-01-08 12:37 by eamanu, last changed 2019-01-08 12:43 by eamanu.

Pull Requests
URL Status Linked Edit
PR 11456 open eamanu, 2019-01-08 12:43
PR 11456 open eamanu, 2019-01-08 12:43
PR 11456 open eamanu, 2019-01-08 12:43
Messages (1)
msg333226 - (view) Author: Emmanuel Arias (eamanu) * Date: 2019-01-08 12:37
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:43:31eamanusetkeywords: + patch
stage: patch review
pull_requests: + pull_request10961
2019-01-08 12:43:24eamanusetkeywords: + patch
stage: (no value)
pull_requests: + pull_request10960
2019-01-08 12:43:17eamanusetkeywords: + patch
stage: (no value)
pull_requests: + pull_request10959
2019-01-08 12:37:57eamanucreate