diff options
author | Michael Foord <michael@voidspace.org.uk> | 2014-04-14 11:26:38 -0400 |
---|---|---|
committer | Michael Foord <michael@voidspace.org.uk> | 2014-04-14 11:26:38 -0400 |
commit | 1b16436c00aaabb3ec10c49ff4cc131c6aa9f4ca (patch) | |
tree | e0ee4e2fa3d824bf199322900017ff82a708bc06 /Lib/unittest/mock.py | |
parent | abf079de2556578a4250c671ddbb83e7399b3e1d (diff) | |
parent | d2623d778663c1fee90a8835c00d0caa5690d2bd (diff) | |
download | cpython-git-1b16436c00aaabb3ec10c49ff4cc131c6aa9f4ca.tar.gz |
Merge
Diffstat (limited to 'Lib/unittest/mock.py')
-rw-r--r-- | Lib/unittest/mock.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py index 8b76503429..a23df5a73d 100644 --- a/Lib/unittest/mock.py +++ b/Lib/unittest/mock.py @@ -1634,7 +1634,9 @@ magic_methods = ( "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()) |