[issue47209] Documentation for asserting values of `unittest.mock.Mock.call_args_list`

himkt report at bugs.python.org
Sun Apr 3 23:43:51 EDT 2022


himkt <himkt at klis.tsukuba.ac.jp> added the comment:

So sorry, documentation is not wrong.
It only need to wrap an argument when it is a singular value.

But I'm still wondering if we can unify documentation to wrap `call` (e.g. https://github.com/himkt/cpython/blob/main/Doc/library/unittest.mock-examples.rst#checking-multiple-calls-with-mock does it).

----------

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


More information about the Python-bugs-list mailing list