summaryrefslogtreecommitdiff
path: root/Lib/unittest/mock.py
diff options
context:
space:
mode:
authorMichael Foord <michael@voidspace.org.uk>2014-04-14 11:24:38 -0400
committerMichael Foord <michael@voidspace.org.uk>2014-04-14 11:24:38 -0400
commita185679152d9e44fab1ea4f57b6c1d41ec0b458a (patch)
treecac7c4e54672de1ac50a25bc473ffefd1313bca1 /Lib/unittest/mock.py
parentce4d9c2f5180272f05d5ea65db07b2898a27ef28 (diff)
parentd2623d778663c1fee90a8835c00d0caa5690d2bd (diff)
downloadcpython-git-a185679152d9e44fab1ea4f57b6c1d41ec0b458a.tar.gz
Merge
Diffstat (limited to 'Lib/unittest/mock.py')
-rw-r--r--Lib/unittest/mock.py4
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())