Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes.
This commit is contained in:
parent
514f9736a7
commit
5943ea76d5
|
@ -1694,6 +1694,7 @@ _non_defaults = {
|
||||||
'__reduce__', '__reduce_ex__', '__getinitargs__', '__getnewargs__',
|
'__reduce__', '__reduce_ex__', '__getinitargs__', '__getnewargs__',
|
||||||
'__getstate__', '__setstate__', '__getformat__', '__setformat__',
|
'__getstate__', '__setstate__', '__getformat__', '__setformat__',
|
||||||
'__repr__', '__dir__', '__subclasses__', '__format__',
|
'__repr__', '__dir__', '__subclasses__', '__format__',
|
||||||
|
'__getnewargs_ex__',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue