[Python-checkins] cpython (merge 3.5 -> default): 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/4c5f7b61b6c5
changeset:   102102:4c5f7b61b6c5
parent:      102100:d736c9490333
parent:      102101:75cec736f87d
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Sun Jun 19 18:32:07 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
@@ -1717,6 +1717,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