diff -r f8dbec87dbfe Lib/unittest/mock.py --- a/Lib/unittest/mock.py Tue Mar 18 07:44:07 2014 +0100 +++ b/Lib/unittest/mock.py Tue Mar 18 15:35:27 2014 +0100 @@ -1634,7 +1634,9 @@ "bool next " ) -numerics = "add sub mul div floordiv mod lshift rshift and xor or pow " +numerics = ( + "add sub mul div floordiv mod lshift rshift and xor or pow truediv" +) inplace = ' '.join('i%s' % n for n in numerics.split()) right = ' '.join('r%s' % n for n in numerics.split())