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

This commit is contained in:
Serhiy Storchaka 2016-06-19 18:32:07 +03:00
commit 6c85091b5b
1 changed files with 1 additions and 0 deletions

View File

@ -1717,6 +1717,7 @@ _non_defaults = {
'__reduce__', '__reduce_ex__', '__getinitargs__', '__getnewargs__',
'__getstate__', '__setstate__', '__getformat__', '__setformat__',
'__repr__', '__dir__', '__subclasses__', '__format__',
'__getnewargs_ex__',
}