[issue17013] Allow waiting on a mock

Ilya Kulakov report at bugs.python.org
Wed Jun 10 10:37:15 EDT 2020


Ilya Kulakov <kulakov.ilya at gmail.com> added the comment:

> That is not true, is actually encouraged to check for singletons like True, False and None.

You're right, just never used it as I never needed an identity check against True / False

The PR is re-done to use an additional property call_event instead of extending called for backwards compatibility.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue17013>
_______________________________________


More information about the Python-bugs-list mailing list