mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-45010: Remove support of special method __div__ in unittest.mock (GH-27965)
This commit is contained in:
parent
989f6a3800
commit
f9cd40f5e2
3 changed files with 4 additions and 2 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue