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 gaydayav
Recipients docs@python, gaydayav
Date 2021-07-19.21:15:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626729328.44.0.624843688761.issue44679@roundup.psfhosted.org>
In-reply-to
Content
here: 
    https://docs.python.org/3.3/library/unittest.mock.html#sentinel
in code example block in last command line
    >>> sentinel.some_object
according to the above 26.4.5.1 article context it looks like the other commad is expected:
    >>> result
To ensure that at the end "result" equals sentinel.some_object we probably should print the "result" value to check, not the "sentinel.some_object" itself.
History
Date User Action Args
2021-07-19 21:15:28gaydayavsetrecipients: + gaydayav, docs@python
2021-07-19 21:15:28gaydayavsetmessageid: <1626729328.44.0.624843688761.issue44679@roundup.psfhosted.org>
2021-07-19 21:15:28gaydayavlinkissue44679 messages
2021-07-19 21:15:28gaydayavcreate