[issue20968] mock.MagicMock does not mock __truediv__
Michael Foord
report at bugs.python.org
Wed Mar 19 13:07:03 CET 2014
Michael Foord added the comment:
Well, as this is a regression fix we definitley need a test. Ideally we would test all the operations - I didn't realise that only add was tested! However for this specific issue, just testing division is fine, and yes testing in place and right hand as well would be good.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20968>
_______________________________________
More information about the Python-bugs-list
mailing list