-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Sort keyword arguments in mock _format_call_signature #65455
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
Comments
Printing call args produces non-deterministic results, making them more or less useless in doctests. kwargs_string = ', '.join([ should be: kwargs_string = ', '.join([ |
Ordered kwargs anyone? :) |
Patch uploaded for the same. |
Yes to ordered kwargs! I would very much like to be able to order the keyword args in the order they were passed in, information which is currently lost. |
Needs a test. |
New patch with test and news entry. |
I agree with Antoine's review comments. With those changes in place, ok to commit. |
New changeset 8e05e15901a8 by Kushal Das in branch 'default': |
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: