Skip to content

Commit cec59a0

Browse files
authored
Update usage.rst
1 parent 53cc0a5 commit cec59a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/usage.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,3 +164,5 @@ Where to patch
164164
A common issue where mocking appears not to be working is patching in the wrong place.
165165

166166
See this `section in the unittest docs <https://docs.python.org/3/library/unittest.mock.html#where-to-patch>`__ which provides a comprehensive explanation.
167+
168+
Also see this excellent blog post: `Why your mock doesn't work <https://nedbatchelder.com/blog/201908/why_your_mock_doesnt_work.html>`__.

0 commit comments

Comments
 (0)