This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Ilya.Kulakov
Recipients Ilya.Kulakov, Kentzo, cjw296, ezio.melotti, jcea, lisroach, lkollar, mariocj89, michael.foord, pablogsal, pitrou, rbcollins, xtreak
Date 2020-06-10.06:18:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <4923BC45-9206-42AA-A399-4C8BBC582872@gmail.com>
In-reply-to <1591725363.08.0.25158389734.issue17013@roundup.psfhosted.org>
Content
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>
> _______________________________________
History
Date User Action Args
2020-06-10 06:18:59Ilya.Kulakovsetrecipients: + Ilya.Kulakov, jcea, pitrou, rbcollins, cjw296, ezio.melotti, michael.foord, lisroach, mariocj89, lkollar, pablogsal, Kentzo, xtreak
2020-06-10 06:18:59Ilya.Kulakovlinkissue17013 messages
2020-06-10 06:18:58Ilya.Kulakovcreate