Johannes Baiter added the comment:

I just noticed that I put the magic method names in the wrong place in the 
patch.
Attached is a fix that adds 'truediv' to the global 'numberics' variable, this 
way '__rtruediv__' and '__itruediv__' will be correctly mocked as well.

----------
Added file: http://bugs.python.org/file34491/mock_truediv_numerics.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20968>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to