[New-bugs-announce] [issue44679] unittest.mock.sentinel documentation typo
Andrii Haidai
report at bugs.python.org
Mon Jul 19 17:15:28 EDT 2021
New submission from Andrii Haidai <gaydayav at gmail.com>:
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.
----------
assignee: docs at python
components: Documentation
messages: 397839
nosy: docs at python, gaydayav
priority: normal
severity: normal
status: open
title: unittest.mock.sentinel documentation typo
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44679>
_______________________________________
More information about the New-bugs-announce
mailing list