diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-08-26 18:19:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-26 18:19:47 (GMT) |
commit | f9cd40f5e242d3c64cc20a5064500f5fe864f91f (patch) | |
tree | a353f17baa2aebf00cea75e8debec59dfa245141 /Lib/unittest | |
parent | 989f6a3800f06b2bd31cfef7c3269a443ad94fac (diff) | |
download | cpython-f9cd40f5e242d3c64cc20a5064500f5fe864f91f.zip cpython-f9cd40f5e242d3c64cc20a5064500f5fe864f91f.tar.gz cpython-f9cd40f5e242d3c64cc20a5064500f5fe864f91f.tar.bz2 |
bpo-45010: Remove support of special method __div__ in unittest.mock (GH-27965)
Diffstat (limited to 'Lib/unittest')
-rw-r--r-- | Lib/unittest/mock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py index ecf84d2..8193efc 100644 --- a/Lib/unittest/mock.py +++ b/Lib/unittest/mock.py @@ -1929,7 +1929,7 @@ magic_methods = ( ) numerics = ( - "add sub mul matmul div floordiv mod lshift rshift and xor or pow truediv" + "add sub mul matmul truediv floordiv mod lshift rshift and xor or pow" ) inplace = ' '.join('i%s' % n for n in numerics.split()) right = ' '.join('r%s' % n for n in numerics.split()) |