[docs] [issue28733] Show how to use mock_open in modules other that __main__
Berker Peksag
report at bugs.python.org
Fri Nov 25 12:05:50 EST 2016
Berker Peksag added the comment:
Thanks for the report and for the patch. I think expanding the "Where to patch" [1] section would be better. We can then refer to it from the mock_open() documentation.
[1] https://docs.python.org/3.6/library/unittest.mock.html#where-to-patch
----------
nosy: +berker.peksag, michael.foord
stage: -> patch review
versions: -Python 3.3, Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28733>
_______________________________________
More information about the docs
mailing list