[issue25597] unittest.mock does not wrap dunder methods (__getitem__ etc)
Karthikeyan Singaravelan
report at bugs.python.org
Wed Sep 11 07:15:38 EDT 2019
Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:
Michael, any thoughts on this? This more feels like an enhancement to me and I have marked it as 3.9 since I am not sure someone might be depending on the behavior where they have used wraps but still expect default values for magicmethods as they do now.
----------
components: +Library (Lib)
nosy: +lisroach
versions: +Python 3.9 -Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue25597>
_______________________________________
More information about the Python-bugs-list
mailing list