[issue38700] typo in unittest mock docs

2019-11-05 Thread Arunkumar Mani
Arunkumar Mani added the comment: my bad. i misread the docs. you are right -- stage: -> resolved status: open -> closed ___ Python tracker ___ __

[issue38700] typo in unittest mock docs

2019-11-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add the specific piece of text? There is an illustration to say that it's common mistake to type assret instead of assert with which mock gives a new child mock. This can be made stricter with unsafe mode to detect this typo. --

[issue38700] typo in unittest mock docs

2019-11-05 Thread Arunkumar Mani
New submission from Arunkumar Mani : at various places in the docs for unittest mock[https://docs.python.org/3.7/library/unittest.mock.html#magic-mock], assert is wriiten as assret -- assignee: docs@python components: Documentation messages: 356039 nosy: Arunkumar Mani, docs@python pr