[issue25597] unittest.mock does not wrap dict objects correctly
R. David Murray
report at bugs.python.org
Tue Nov 10 18:12:01 EST 2015
R. David Murray added the comment:
Looking at the source, it's not clear that wraps is supported for __ methods, despite what the documentation implies. That is, MagicProxy doesn't seem to look at the wraps information. I suspect it is doable, but it may be an enhancement request rather than a bug fix, I'm not sure.
----------
nosy: +michael.foord, r.david.murray, rbcollins
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25597>
_______________________________________
More information about the Python-bugs-list
mailing list