[issue17660] mock.patch could whitelist builtins to not need create=True
Berker Peksag
report at bugs.python.org
Tue Apr 15 20:52:49 CEST 2014
Berker Peksag added the comment:
+ .. note::
I think using a note directive is not necessary here. Also it looks a bit ugly :) https://dl.dropboxusercontent.com/u/166024/issue17660.png
+ .. versionchanged:: 3.5
+ If you are patching builtins in a module then you don't
+ need to pass `create=True`, it will be added by default.
----------
nosy: +berker.peksag
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17660>
_______________________________________
More information about the Python-bugs-list
mailing list