[issue44684] Docs for mock.call

2021-07-20 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > A call object is either a tuple of (positional args, keyword args) or (name, > positional args, keyword args) depending on how it was constructed https://github.com/python/cpython/pull/11807 added support for args and kwargs from python 3.9. So I

[issue44684] Docs for mock.call

2021-07-20 Thread Thomas Guettler
New submission from Thomas Guettler : The docs for `mock.call` could get improved: https://docs.python.org/3/library/unittest.mock.html#call Up to now it is not clear how to access individual members of the call. Example: I want to check if the call used the kwarg "foo" with the value of "ba