diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-06-19 15:30:43 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-06-19 15:30:43 (GMT) |
commit | 5943ea76d529f9ea18c73a61e10c6f53bdcc864f (patch) | |
tree | 2006aece2638dcf4a0c5e156a8950edf13aca541 /Lib | |
parent | 514f9736a712923756cdd1d3a5e845bf3fdb0994 (diff) | |
download | cpython-5943ea76d529f9ea18c73a61e10c6f53bdcc864f.zip cpython-5943ea76d529f9ea18c73a61e10c6f53bdcc864f.tar.gz cpython-5943ea76d529f9ea18c73a61e10c6f53bdcc864f.tar.bz2 |
Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/unittest/mock.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py index 86a5a3d..1adfcf9 100644 --- a/Lib/unittest/mock.py +++ b/Lib/unittest/mock.py @@ -1694,6 +1694,7 @@ _non_defaults = { '__reduce__', '__reduce_ex__', '__getinitargs__', '__getnewargs__', '__getstate__', '__setstate__', '__getformat__', '__setformat__', '__repr__', '__dir__', '__subclasses__', '__format__', + '__getnewargs_ex__', } |