Title: unittest.mock.sentinel documentation typo
Type: Stage:
Components: Documentation Versions: Python 3.6
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, gaydayav
Priority: normal Keywords:

Created on 2021-07-19 21:15 by gaydayav, last changed 2021-07-19 21:15 by gaydayav.

Messages (1)
msg397839 - (view) Author: Andrii Haidai (gaydayav) Date: 2021-07-19 21:15
in code example block in last command line
    >>> sentinel.some_object
according to the above 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.
Date User Action Args
2021-07-19 21:15:28gaydayavcreate