[issue35500] Align expected and actual calls on mock.assert_called_with error message
Susan Su added the comment: After taking a look at the assert_called_with function, I noticed that the formatting is inconsistent for the following case: from unittest import mock m = mock.Mock() a = [1, 2, 3, 4] m.assert_called_with(*a) Traceback (most recent call last): File "", line 1, in File "/vagrant/cpython/Lib/unittest/mock.py", line 817, in assert_called_with raise AssertionError('Expected call: %s\nNot called' % (expected,)) AssertionError: Expected call: mock(1, 2, 3) Not called If you believe it would be appropriate, I would like to change the format of the code above to the following: Traceback (most recent call last): File "", line 1, in File "/vagrant/cpython/Lib/unittest/mock.py", line 817, in assert_called_with raise AssertionError( AssertionError: expected call not found. Expected: mock(1, 2, 3, 4) Not called This way, we would create consistency in our output. -- nosy: +suhearsawho ___ Python tracker <https://bugs.python.org/issue35500> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33043] Add a 'Contributing to Docs' link at the bottom of docs.python.org
Susan Su added the comment: I am available to start working on this bug. Please let me know if any issues, concerns, or suggestions come up! Thank you. -- nosy: +suhearsawho ___ Python tracker <https://bugs.python.org/issue33043> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21150] Add quick links table to argparse docs
Susan Su added the comment: I'm available to start working on this bug. Please let me know if any suggestions, concerns or comments come up! Thank you. -- nosy: +suhearsawho ___ Python tracker <https://bugs.python.org/issue21150> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21150] Add quick links table to argparse docs
Change by Susan Su : -- keywords: +patch pull_requests: +12036 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue21150> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33043] Add a 'Contributing to Docs' link at the bottom of docs.python.org
Change by Susan Su : -- keywords: +patch pull_requests: +12037 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue33043> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com