cpython: 75cec736f87d (original) (raw)

Mercurial > cpython

changeset 102101:75cec736f87d 3.5

Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes. [#23641]

Serhiy Storchaka storchaka@gmail.com
date Sun, 19 Jun 2016 18:30:43 +0300
parents d7b6c07bc713
children 4c5f7b61b6c5 a14b93a4eb49
files Lib/unittest/mock.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-)[+] [-] Lib/unittest/mock.py 1

line wrap: on

line diff

--- a/Lib/unittest/mock.py +++ b/Lib/unittest/mock.py @@ -1694,6 +1694,7 @@ right = ' '.join('r%s' % n for n in nume 'reduce', 'reduce_ex', 'getinitargs', 'getnewargs', 'getstate', 'setstate', 'getformat', 'setformat', 'repr', 'dir', 'subclasses', 'format',

}