New submission from Andrii Haidai <[email protected]>:
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@python
components: Documentation
messages: 397839
nosy: docs@python, gaydayav
priority: normal
severity: normal
status: open
title: unittest.mock.sentinel documentation typo
versions: Python 3.6
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44679>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com