[issue17660] mock.patch could whitelist builtins to not need create=True
Antoine Pitrou
report at bugs.python.org
Mon Apr 8 20:17:07 CEST 2013
Antoine Pitrou added the comment:
To be honest this proposal sounds like a quirk more than a feature to me. If you only special-case builtins, people will have to remember that special case and it will make the API more complicated.
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17660>
_______________________________________
More information about the Python-bugs-list
mailing list