[New-bugs-announce] [issue35685] Add samples on patch.dict of the use of decorator and in class

Emmanuel Arias report at bugs.python.org
Tue Jan 8 07:37:57 EST 2019


New submission from Emmanuel Arias <emmanuelarias30 at gmail.com>:

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

----------
assignee: docs at python
components: Documentation
messages: 333226
nosy: docs at python, eamanu, michael.foord
priority: normal
severity: normal
status: open
title: Add samples on patch.dict of the use of decorator and in class
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35685>
_______________________________________


More information about the New-bugs-announce mailing list