You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The constructor stubbing implementation works by hotswapping the __new__ magic function. Dynamically assigning __new__ is broken as of Python3.5 Issue 25731.
I have been able to work around this by providing my own __new__ implementation instead of falling back to object.__new__.
The text was updated successfully, but these errors were encountered:
The constructor stubbing implementation works by hotswapping the
__new__
magic function. Dynamically assigning__new__
is broken as of Python3.5 Issue 25731.I have been able to work around this by providing my own
__new__
implementation instead of falling back toobject.__new__
.The text was updated successfully, but these errors were encountered: