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

This commit is contained in:
Serhiy Storchaka 2016-06-19 18:30:43 +03:00
parent 514f9736a7
commit 5943ea76d5
1 changed files with 1 additions and 0 deletions

View File

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