[docs] [issue20487] Odd words in unittest.mock document.

Michael Foord report at bugs.python.org
Sun Feb 2 20:39:31 CET 2014


Michael Foord added the comment:

A "side effect" is a mechanism Mock provides for mocks to have special behaviour when called. 

http://docs.python.org/3.3/library/unittest.mock.html#unittest.mock.Mock.side_effect

The term is used very widely throughout the mock documentation, so I don't think it's appropriate to link *every* usage to the side_effect documentation.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20487>
_______________________________________


More information about the docs mailing list