Ilya Kulakov <[email protected]> added the comment: 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 <[email protected]> > wrote: > > > Pablo Galindo Salgado <[email protected]> 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 <[email protected]> > <https://bugs.python.org/issue17013> > _______________________________________ ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue17013> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
