Posted on Mar 2, 2015 by
Happy Horse
What steps will reproduce the problem? 1. MagicMock.truediv should work on python3 2. MagicMock.div should fail on python3 3. See pydoc2 SPECIALMETHODS vs pydoc3 SPECIALMETHODS
As briefly stated above, MagicMock incorrectly marks truediv as python 2-only feature. The div method should move to python2-only section, truediv is universal.
Status: New
Labels:
Type-Defect
Priority-Medium