[issue25532] infinite loop when running inspect.unwrap over unittest.mock.call
Michael Foord
report at bugs.python.org
Tue Nov 3 04:28:31 EST 2015
Michael Foord added the comment:
Preventing the use of "__" attributes would limit the usefulness of call with MagicMock and the use of magic methods. That might be an acceptable trade-off, but would break existing tests for people. (i.e. it's a backwards incompatible change.)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25532>
_______________________________________
More information about the Python-bugs-list
mailing list