diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-06-19 15:32:07 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-06-19 15:32:07 (GMT) |
commit | 6c85091b5bf1e03a3907be9ded38de1d0433f39b (patch) | |
tree | df77ba53a2ec830defc068249f615767e2ed727c /Lib/unittest | |
parent | 696c8af41f394add432003073a33e3207f642674 (diff) | |
parent | 5943ea76d529f9ea18c73a61e10c6f53bdcc864f (diff) | |
download | cpython-6c85091b5bf1e03a3907be9ded38de1d0433f39b.zip cpython-6c85091b5bf1e03a3907be9ded38de1d0433f39b.tar.gz cpython-6c85091b5bf1e03a3907be9ded38de1d0433f39b.tar.bz2 |
Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes.
Diffstat (limited to 'Lib/unittest')
-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 be215f3..6cc8093 100644 --- a/Lib/unittest/mock.py +++ b/Lib/unittest/mock.py @@ -1717,6 +1717,7 @@ _non_defaults = { '__reduce__', '__reduce_ex__', '__getinitargs__', '__getnewargs__', '__getstate__', '__setstate__', '__getformat__', '__setformat__', '__repr__', '__dir__', '__subclasses__', '__format__', + '__getnewargs_ex__', } |