[Python-checkins] cpython (3.5): Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes.
serhiy.storchaka
python-checkins at python.org
Sun Jun 19 11:32:27 EDT 2016
https://hg.python.org/cpython/rev/75cec736f87d
changeset: 102101:75cec736f87d
branch: 3.5
parent: 102096:d7b6c07bc713
user: Serhiy Storchaka <storchaka at gmail.com>
date: Sun Jun 19 18:30:43 2016 +0300
summary:
Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes.
files:
Lib/unittest/mock.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py
--- a/Lib/unittest/mock.py
+++ b/Lib/unittest/mock.py
@@ -1694,6 +1694,7 @@
'__reduce__', '__reduce_ex__', '__getinitargs__', '__getnewargs__',
'__getstate__', '__setstate__', '__getformat__', '__setformat__',
'__repr__', '__dir__', '__subclasses__', '__format__',
+ '__getnewargs_ex__',
}
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list