New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation for asserting values of unittest.mock.Mock.call_args_list
#91365
Comments
|
Currently documentation says we can check call_args_list by providing a list of tuples of arguments. (from https://docs.python.org/3.11/library/unittest.mock.html#unittest.mock.Mock.call_args_list) However, I think we have to wrap all arguments with ### Reproduce: ### Links |
|
So sorry, documentation is not wrong. But I'm still wondering if we can unify documentation to wrap |
It is also wrong..., sorry. |
|
Just to add call objects themselves are tuples. The docstring of Lines 2418 to 2436 in 2fadde7
|
|
@himkt Do you still think the docs need clarification or are fine as-is? |
|
Sorry, I just noticed the thread is tracked here. Yeah I think the docs are fine as-is. Thank you for pinning. |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: