This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Petter S
Recipients Petter S
Date 2018-10-23.08:35:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
When developing unit tests with `unittest.mock`, it is common to see error messages like this:

    AssertionError: Expected 'info' to not have been called. Called 3 times.

It would be really helpful if those 3 calls were listed in the assertion error.

I am happy to add this if people agree it is a good thing.
History
Date User Action Args
2018-10-23 08:35:36Petter Ssetrecipients: + Petter S
2018-10-23 08:35:36Petter Ssetmessageid: <[email protected]>
2018-10-23 08:35:35Petter Slinkissue35047 messages
2018-10-23 08:35:35Petter Screate