New submission from Emmanuel Arias <emmanuelaria...@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@python
components: Documentation
messages: 333226
nosy: docs@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue35685>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to