Correct, it is not backward compatible in that respect. I did not check thoroughly, but a quick lookup shown no such use among public repos on GitHub.
I can instead add the called_event property and make the CallEvent “public”.
Best Regards
Ilya Kulakov
> On Jun 9, 2020, at 11:56 PM, Pablo Galindo Salgado <report@bugs.python.org> wrote:
>
>
> Pablo Galindo Salgado <pablogsal@gmail.com> added the comment:
>
> isn't PR 20759 backwards incompatible? If I understand correctly, this would break anyone that is checking for identity as :
>
> assert mymock.called is True
>
> ----------
> nosy: +pablogsal
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue17013>
> _______________________________________