[issue43400] Remove "Mock is very easy to use" from unittest.mock documentation
Karthikeyan Singaravelan
report at bugs.python.org
Thu Mar 4 20:15:38 EST 2021
Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:
Mock has a section on getting started that has several recipes but it's not under howto section. Perhaps this page could be updated if you want to make a PR : https://docs.python.org/3/library/unittest.mock-examples.html
There is also a section on where to patch : https://docs.python.org/3/library/unittest.mock.html#where-to-patch
I admit it also bites me few times and I have to do trial and error to get the right patch object.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43400>
_______________________________________
More information about the Python-bugs-list
mailing list